io.display.object
Displays an object of nested data to the action user.
Usage
- TypeScript
- JavaScript
- Python
await io.display.object("Example object", {
data: [
{
album: "Exile on Main Street",
artist: "The Rolling Stones",
year: 1972,
},
],
});
await io.display.object("Example object", {
data: [
{
album: "Exile on Main Street",
artist: "The Rolling Stones",
year: 1972,
},
],
});
await io.display.object("Example object",
data=[
{
"album": "Exile on Main Street",
"artist": "The Rolling Stones",
"year": 1972,
},
],
)
interval.com
Props
- TypeScript
- JavaScript
- Python
data
Required
any
Object or array of objects with arbitrary keys/values.
Returns
null
data
Required
any
Object or array of objects with arbitrary keys/values.
Returns
null
default_value
Optional
KeyValueObject
Object or array of objects with arbitrary keys/values.
PrimitiveValue = str | int | float | bool | date | time | datetime
KeyValueObject = PrimitiveValue | list["KeyValueObject"] | dict[str, "KeyValueObject"]
Returns
None
Was this section useful?