Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

JSValueMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class JavaScript MBS MacFrameworks Plugin 15.4 Yes No No Yes, macOS only No
Function: The class for a Javascript value.
Example:
dim c as new JSContextMBS
dim j as JSValueMBS = c.valueWithDouble(1)
MsgBox j.StringValue
Notes: This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

Types

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

Sub classes:

Some methods using this class:

Some properties using for this class:

Some events for this class:

Some examples which use this class:


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


JSONMBS   -   KeychainItemMBS





Links
MBS Xojo tutorial videos