Get Value
Module Info:
moduleType: "internal",
moduleName: "getObjectValue"
Description
The getObjectValue
function receives an object and a property name, then returns the value of the property.
Inputs
Name | Type | Required |
---|---|---|
key | string | ✔ |
object | object | ✔ |
Outputs
Name | Type |
---|---|
value | any |
Examples
Inputs | Outputs | |
---|---|---|
key | object | value |
"name" | { name: "Amber", age: 20 } | "Amber" |
"age" | { name: "Amber", age: 20 } | 20 |
"password" | { name: "Amber", age: 20 } | undefined |