CodeQL library for JavaScript
Search

Class Boolean

A utility class that is equivalent to boolean but does not require type joining.

Import path

import semmle.javascript.dataflow.internal.FlowSteps

Direct supertypes

Inherited predicates

booleanAnd

Returns the boolean and of the receiver and the argument

from boolean
booleanNot

Returns the negation of the receiver

from boolean
booleanOr

Returns the boolean or of the receiver and the argument

from boolean
booleanXor

Returns the boolean exclusive or of the receiver and the argument

from boolean
toString

Returns either “true” or “false”

from boolean

Charpred