Jump to content

Wikifunctions:Catalogue/Generic object operations

From Wikifunctions

Note that due to handling all types of objects, most of these functions have bugs

  • Echo (Z801): returns the argument unchanged
  • Value by key (Z803): returns the value (Object) associated with the specified Key reference
  • Values by keys (Z804): returns the values (Object) associated with the specified list of Key references
  • Reify (Z805): Returns a list of key-value pairs representing the object given
  • Abstract (Z808): Takes a list of key-value pairs representing an object and returns the corresponding object
  • object equality (Z13052): takes two objects as arguments and tests if they are exactly equal including same type representation (when mapped to python) and their types have an unambiguous concept of equality
  • object type equality (Z15801): returns True if two objects are of the same type
  • strict object equality (Z18683): requires both object type equality (Z15801) and object equality (Z13052)