def

func:trap

trap(val, name)

Function for the -> operator. If the given value is a dict, then get a value by name, or throw UnknownNameErr if name not mapped. If the value is a Ref, then perform a checked readById, then perform the name lookup.

The trap function maybe be accessed using the -> shortcut operator:

dict->foo  >>>  dict.trap("foo")

See Axon Language.

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function