Difference between revisions of "Z Object Functions"

From ZCubes Wiki
Jump to navigation Jump to search
Line 12: Line 12:
  
 
KEYTAGS(SomeObject,SomeFunction,ExtractAll,IncludeFunctions)
 
KEYTAGS(SomeObject,SomeFunction,ExtractAll,IncludeFunctions)
 +
 +
Same as KEYVALUES.
  
 
Extracts the key value pair of an object. Similar to Object.entries.
 
Extracts the key value pair of an object. Similar to Object.entries.

Revision as of 20:28, 2 June 2025

Z Object Related Functions

KEYS

KEYS(SomeObject,SomeFunction,ExtractAll,IncludeFunctions)

Extracts the keys of an object. Similar to Object.keys.

SomeFunction is applied, if provided to each of the values. ExtractAll indicates to include undefined values for keys. IncludeFunctions include values for keys that are functions in the extracts.

KEYTAGS

KEYTAGS(SomeObject,SomeFunction,ExtractAll,IncludeFunctions)

Same as KEYVALUES.

Extracts the key value pair of an object. Similar to Object.entries.

Other parameters similar to KEYS.

TAGS

TAGS(SomeObject,SomeFunction,ExtractAll,IncludeFunctions)

Extracts the values of an object. Similar to Object.entries with values alone.

Other parameters similar to KEYS.