Skip to content

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.

string

string

string