toBoolean property
bool
get
toBoolean
Converts a JavaScript value to boolean and returns the resulting boolean.
Implementation
bool get toBoolean {
return JSValueRef.jSValueToBoolean(context.pointer, pointer) == 1;
}