Defines which binary operators are allowed. If defined, must provide an
allow list or a block list, but not both. Valid options are +
, -
, *
,
**
, /
, %
, <
, >
, <=
, >=
, ==
, !=
, ===
, !==
, |
, &
,
<<
, >>
, >>>
.
Defines which logical operators are allowed. If defined, must provide an
allow list or a block list, but not both. Valid options are ||
, &&
,
??
.
Whether or not the ternary/conditional operator is allowed. A value of
true
allows the ternary operator, false
blocks it. Defaults to true
.
Defines which unary operators are allowed. If defined, must provide an
allow list or a block list, but not both. Valid options are -
, +
, !
,
~
, typeof
.
Generated using TypeDoc
Defines which operators are allowed.