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.
Parameters
Section titled “Parameters”string
parent
Section titled “parent”string
Returns
Section titled “Returns”boolean