示例#1
0
 /**
  * This method iterates over the items in the string, yielding each item to the
  * predicate function, or fails the falsy test.
  *
  * @access public
  * @static
  * @param IString\Type $xs                                  the left operand
  * @param callable $predicate                               the predicate function to be used
  * @return IBool\Type                                       whether each item passed the
  *                                                          falsy test
  */
 public static function none(IString\Type $xs, callable $predicate) : IBool\Type
 {
     return IString\Module::all($xs, function (Core\Type $object, IInt32\Type $index) use($predicate) {
         return IBool\Module::not($predicate($object, $index));
     });
 }