Retrieve

Retrieve[instance,key]
retrieves the value associated with key in the class instance instance.

Retrieve[instance,{key1,key2,}]
retrieves the values associated with keyi in the class instance instance.

Retrieve[{instance1,instance2,},key]
retrieves the value associated with key in the class instances instancei.

Retrieve[key]
represents an operator form of Retrieve that can be applied to an expression.

DetailsDetails

  • Part can be used to retrieve values in a class instance as a shorthand for Retrieve.