Skip to main content

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

NameTypeRequired
keystring
objectobject

Outputs

NameType
valueany

Examples

Inputs Outputs
key object value
"name" { name: "Amber", age: 20 } "Amber"
"age" { name: "Amber", age: 20 } 20
"password" { name: "Amber", age: 20 } undefined