Skip to content

hasParent

hasParent(name, parent): boolean

Defined in: packages/aip/src/resourcename/hasparent.ts:7

Tests whether name has the specified parent. Wildcard segments (-) are considered. Resource names without revisions are considered parents of the same resource name with a revision.

string

string

boolean