Boolean Methods

The methods defined in the Boolean primitive type are summarized in the following table.

Method Returns …
display A string representing the value of the receiver
isOneOf True if the receiver matches exactly any of the possible values provided in the pseudo type parameter list or it returns false if no match is found