gossi\codegen\parser\visitor\parts\ValueParserPart::isNull PHP Method

isNull() private method

Returns whether this node is a null value
private isNull ( PhpParser\Node $node ) : boolean
$node PhpParser\Node
return boolean
    private function isNull(Node $node)
    {
        if ($node instanceof ConstFetch) {
            $const = $node->name->parts[0];
            return $const === 'null';
        }
    }