Skip to main content

@terascope/data-mate / transforms/helpers / VariableState

Class: VariableState

Constructors

new VariableState()

new VariableState(variables?): VariableState

Parameters

ParameterType
variables?AnyObject

Returns

VariableState

Source

data-mate/src/transforms/helpers.ts:175

Methods

createVariable()

createVariable(field, value): string

Parameters

ParameterType
fieldstring
valueunknown

Returns

string

Source

data-mate/src/transforms/helpers.ts:191


getVariables()

getVariables(): AnyObject

Shallow clones and sorts the keys

Returns

AnyObject

Source

data-mate/src/transforms/helpers.ts:207