ancestor
ancestor(
name,pattern):string
Defined in: packages/aip/src/resourcename/ancestor.ts:6
Extracts an ancestor from the provided name, using a pattern for the ancestor.
Parameters
Section titled “Parameters”string
pattern
Section titled “pattern”string
Returns
Section titled “Returns”string