PHPSA\CompiledExpression::isTypeKnown PHP 메소드

isTypeKnown() 공개 메소드

public isTypeKnown ( ) : boolean
리턴 boolean
    public function isTypeKnown()
    {
        return $this->type !== self::UNKNOWN;
    }

Usage Example

예제 #1
0
 public function testIsTypeKnownWithKnownType()
 {
     $compiledExpression = new CompiledExpression(CompiledExpression::BOOLEAN);
     parent::assertTrue($compiledExpression->isTypeKnown());
 }