JSValueMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


💬 Ask a question or report a problem