To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

NativeObject

NativeObject

new NativeObject(proxyId, session)

Creates a NativeObject with the given proxy-ID.
Parameters:
Name Type Description
proxyId Number The proxy-ID returned from the engine, representing an instance of a native object stored on the engine side.
session Object The current session.

Methods

MEMBERS() → {Promise.<Array.<string>>}

Returns a string array representing all members of the native object.
Returns:
a promise that is fulfilled with a string array representing all members of the native object.
Type
Promise.<Array.<string>>