Skip to main content

$getObjectValues

This function retrieves the values of an object and returns them as a string.

Parameters

ParameterDescription
objectThe object for which values will be retrieved.
sepAn optional separator used to join the values. Defaults to ", ".

Example

<AoiClient>.addCommand({
name: "getValues",
code: `
$getObjectValues[{ "name": "John", "age": 25, "city": "New York" };, ] // Replace the object with your own
`,
});