PHPSA\CompiledExpression::isArray PHP Method

isArray() public method

public isArray ( ) : boolean
return boolean
    public function isArray()
    {
        return $this->type === self::ARR;
    }

Usage Example

Example #1
0
 public function testIsArrayWhenFalse()
 {
     $compiledExpression = new CompiledExpression(CompiledExpression::BOOLEAN);
     parent::assertFalse($compiledExpression->isArray());
 }