new module:model/NumberOrVariable()
- Source:
Constructs a new NumberOrVariable.
Object stands for a number or a Variable. This object should be any of the following object models or types: [number, #/definitions/DSWorkflowVariable]
Methods
(static) constructFromObject(data, obj) → {module:model/NumberOrVariable}
- Source:
Constructs a NumberOrVariable from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/NumberOrVariable | Optional instance to populate. |
Returns:
The populated NumberOrVariable instance.