def

func:refProjName

refProjName(ref, checked: true)

Given an absolute ref, return its project name. If the ref is not formatted as "p:proj:r:xxx", then raise an exception or return null based on the checked flag:

Examples:

refProjName(@p:demo:r:xxx)   >>  "demo"
refProjName(@r:xxx)          >>  raises exception
refProjName(@r:xxx, false)   >>  null

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function