- Index
- »
- xeto
- »
- func:specLib
def
func:specLib
specLib(name, checked: true)
Load or lookup a Xeto library by its string or ref name. Return the dict
representation. If not found raise exception or return null based on checked flag.
Examples:
specLib("ph.points") // load by dotted name specLib(@lib:ph.points) // load by lib ref id specLib("bad.lib.name") // raises exception if not found specLib("bad.lib.name", false) // unchecked returns null