def
func:get
get(val, key)
Get an item from a collection:
- str(num): get character at index as int (same semantics as Fantom)
- str(range): get string slice (same semantics as Fantom)
- list(num): get item at given index (same semantics as Fantom)
- list(range): get list slice at given index (same semantics as Fantom)
- dict(key): get item with given key or return null
- grid(num): get row at given index
- grid(range):
Grid.getRange
The get function maybe be accessed using the []
shortcut operator:
list[3] >> list.get(3)
See Axon Language.