DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.JSBoolean Class Reference

Represents JavaScript primitive boolean value. More...

Inherits DotNetBrowser.JSPrimitive< bool >.

Public Member Functions

override bool IsBool ()
 Indicates whether JavaScript value is a boolean value. If this method returns true, then the value can be casted to JSBoolean type. For example: More...
 
override bool GetBool ()
 Returns boolean value of the current JSBoolean instance. More...
 
override JSBoolean AsBoolean ()
 Casts the current JavaScript object to JSBoolean type. More...
 
- Public Member Functions inherited from DotNetBrowser.JSPrimitive< bool >
override string ToString ()
 

Properties

override bool Value [get]
 Gets the value of the current JSBoolean instance. More...
 
- Properties inherited from DotNetBrowser.JSPrimitive< bool >
abstract T Value [get]
 Gets the value of the current primitive instance. More...
 

Detailed Description

Represents JavaScript primitive boolean value.

Member Function Documentation

override JSBoolean DotNetBrowser.JSBoolean.AsBoolean ( )

Casts the current JavaScript object to JSBoolean type.

override bool DotNetBrowser.JSBoolean.GetBool ( )

Returns boolean value of the current JSBoolean instance.

override bool DotNetBrowser.JSBoolean.IsBool ( )

Indicates whether JavaScript value is a boolean value. If this method returns true, then the value can be casted to JSBoolean type. For example:

if (value.IsBool()) { JSBoolean bool = value.AsBoolean(); }

Returns
true when JavaScript value is a Bool object.

Property Documentation

override bool DotNetBrowser.JSBoolean.Value
get

Gets the value of the current JSBoolean instance.