Пример #1
0
 public function testSome()
 {
     $result = $this->_List->some(function ($value) {
         return \is_callable($value);
     });
     $this->assertTrue($result);
 }
Пример #2
0
 /**
  * Whether any bits are set
  * @return bool
  */
 public function any()
 {
     return $this->_List->some(function ($v) {
         return $v;
     });
 }