Constructor.
The boolean value of the new instance.
An optional array of strings to associate with value
.
Implementation of the dom.Value interface method equals()
Implementation of the dom.Value interface method ionEquals()
Returns the primitive value of the specified object.
Returns the primitive value of the specified object.
Represents a boolean[1] value in an Ion stream.
Because this class extends Javascript's (big-B) Boolean data type, it is subject to the same surprising behavior when used for control flow.
From the Mozilla Developer Network documentation[2]:
[1] https://amazon-ion.github.io/ion-docs/docs/spec.html#bool [2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean#Description