For the complete documentation index, see llms.txt. This page is also available as Markdown.

objectAttr

Description

Given an object and an attribute key, the objectAttr function will return the value of the specified attribute.

Input / Parameter

Name
Description
Input Type
Default
Options
Required

object

Object with key-value pairs

Object

-

-

Yes

attr

The name of the attribute to be retrieved.

String/Text

-

-

Yes

Output

Description
Output Type

Returns the selected attribute value of the object.

Any

Callback

N/A

Video

Coming Soon.

Example

Given the above object, objectAttr function for name will return John.

  • See also objectValues and objectKeys

Last updated