Difference between revisions of "Z Object Functions"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "=Z Object Related Functions= ==KEYS== KEYS(SomeObject,SomeFunction,ExtractAll,IncludeFunctions) Extracts the keys of an object. Similar to Object.keys. ==KEYTAGS== KEYTAG...")
 
Line 6: Line 6:
  
 
Extracts the keys of an object. Similar to Object.keys.
 
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==
Line 12: Line 14:
  
 
Extracts the key value pair of an object. Similar to Object.entries.
 
Extracts the key value pair of an object. Similar to Object.entries.
 +
 +
Other parameters similar to KEYS.
  
 
==TAGS==
 
==TAGS==
Line 18: Line 22:
  
 
Extracts the values of an object. Similar to Object.entries with values alone.
 
Extracts the values of an object. Similar to Object.entries with values alone.
 +
 +
Other parameters similar to KEYS.

Revision as of 18:31, 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)

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.