/**
 * Determine whether the string is equals to $string.
 *
 * @param $string String to compare.
 *
 * @return bool Returns TRUE on success or FALSE otherwise.
 */
public function isEqual(string $string): bool

Examples

if (Strings::create('fòôbàřs')->isEqual('fòôbàřs')) {
    // do something...
}

Getting Started

Methods