Platforms to show: All Mac Windows Linux Cross-Platform

JSValueMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class JavaScript MBS MacFrameworks Plugin 15.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The class for a Javascript value.
Example
dim c as new JSContextMBS
dim j as JSValueMBS = c.valueWithDouble(1)
MsgBox j.StringValue

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Types

Constant Value Description
kJSTypeBoolean 2 A primitive boolean value, one of true or false.
Example
kJSTypeNull 1 The unique null value.
Example
kJSTypeNumber 3 A primitive number value.
Example
kJSTypeObject 5 An object value (meaning that this JSValueMBS is a JSObjectMBS).
Example
kJSTypeString 4 A primitive string value.
Example
kJSTypeUndefined 0 The unique undefined value.
Example

Sub classes:

Some methods using this class:

Some properties using for this class:

Some events using this class:

Some examples using this class:


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


JSONMBS   -   KeychainAccessControlMBS


The biggest plugin in space...