Skip to content

ObjectValue.get method

ObjectValue › get

Official

Get the Value associated with the provided key, or NullValue. If the referenced property in the object is not a Value, it will be wrapped before returning.

Signature:

get(key: string): Value | null

Parameters:

Parameter Type Description
key string

Returns: Value | nullthe Value associated with the provided key, or NullValue. If the referenced property in the object is not a Value, it will be wrapped before returning.

Since: 1.10.0