@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / buildBooleanNot
Function: buildBooleanNot()
ts
function buildBooleanNot(expr, attributes?): PhpExprBooleanNot;Builds a PHP boolean NOT expression node.
Parameters
expr
The expression to negate.
attributes?
Readonly<Record<string, unknown>>
Optional attributes for the node.
Returns
A PhpExprBooleanNot node.
