예제 #1
0
 public function testEvery()
 {
     $result = $this->_List->every(function ($value) {
         return \is_string($value);
     });
     $this->assertFalse($result);
 }
예제 #2
0
파일: BitSet.php 프로젝트: dazarobbo/cola
 /**
  * Whether no bits are set
  * @return bool
  */
 public function none()
 {
     return $this->_List->every(function ($v) {
         return $v === false;
     });
 }