def

func:spec

spec(qname, checked: true)

Load or lookup a Xeto spec by its string or ref qname. Return the dict representation. If not found raise exception or return null based on checked flag.

Examples:

spec("ph::Meter")         // type string
spec(@ph::Meter)          // type id
spec("sys::Spec.of")      // slot
spec("foo::Bad")          // raises exception if not found
spec("foo::Bad", false)   // unchecked returns null

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function