public function testSome() { $result = $this->_List->some(function ($value) { return \is_callable($value); }); $this->assertTrue($result); }
/** * Whether any bits are set * @return bool */ public function any() { return $this->_List->some(function ($v) { return $v; }); }