gossi\codegen\parser\visitor\parts\ValueParserPart::isNull PHP Méthode

isNull() private méthode

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