[*, null]
[*, null]
Object
RpcStruct
[*, null]
Fetch the value assigned to a given parameter key, coerced to a target class.
Kind: Instance method of RpcStruct
Returns: [*, null]
- The value in the desired primitive or instantiated format, otherwise null.
Param | Type | Description |
---|---|---|
tClass | function |
A class to instantiate the value into. |
key | String |
The key of the parameter to retrieve. |
[*, null]
Get a single parameter value by its key.
Kind: Instance method of RpcStruct
Returns: [*, null]
- The value of the parameter. Null if not defined.
Param | Type | Description |
---|---|---|
key | String |
The key of the parameter value to retrieve. |
Object
Get the parameters object.
Kind: Instance method of RpcStruct
Returns: Object
- An object map of parameters.
RpcStruct
Set a parameter value for a given key.
Kind: Instance method of RpcStruct
Returns: RpcStruct
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
key | String |
The key to store the value under. |
value | * |
The value to associate with the key. |