Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 934 Bytes

File metadata and controls

23 lines (16 loc) · 934 Bytes

Boolean

Namespace: SpawnDev.SpawnJS.JSObjects
Inherits: SpawnJSObject
Source: JSObjects/Boolean.cs
MDN Reference: Boolean on MDN

The Boolean object represents a truth value: true or false. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean

Constructors

Signature Description
Boolean(SpawnJSObjectReference _ref) Deserialization constructor

Methods

Method Return Type Description
ValueOf() bool The valueOf() method of Boolean values returns the primitive value of a Boolean object.
ToString() string The toString() method of Boolean values returns a string representing the specified boolean value.
bool(Boolean booleanObj) implicit operator Implicit conversion to a .Net bool