nameLeaf
API / publicodes / utils / nameLeaf
function nameLeaf(dottedName): string
Defined in: packages/core/src/ruleUtils.ts:16
Experimental
Returns the last part of a dottedName (the leaf).
Parameters
Parameter | Type |
---|---|
dottedName | string |
Returns
string