/** * This method (aka "exists" and "some") returns whether some of the items in the string * passed the truthy test. * * @access public * @static * @param IString\Type $xs the left operand * @param callable $predicate the predicate function to be used * @return IBool\Type whether some of the items * passed the truthy test */ public static function any(IString\Type $xs, callable $predicate) : IBool\Type { return IOption\Module::isDefined(IString\Module::find($xs, $predicate)); }