not() 공개 정적인 메소드

public static not ( $predicate )
예제 #1
0
 /**
  * @test
  */
 public function shouldNegatePredicate()
 {
     $this->assertFalse(Functions::call(Functions::not(Functions::identity()), true));
     $this->assertTrue(Functions::call(Functions::not(Functions::identity()), false));
 }