Caplin Trader 5.1.0

Module: br-core/Utility

Methods

(inner) addValuesToSet(set, values)

Adds keys from the values array to the set object with values all set to true.

Parameters:
Name Type Description
set Object

The set object

values Array

The array of values

(inner) isEmpty(object)

Returns true if there are no enumerable keys (as found by for-in) in the provided object, false otherwise.

Parameters:
Name Type Description
object Object

(inner) locate(path, root)

Navigates an object hierarchy with dotted or slash notation.

Parameters:
Name Type Description
path String
root String