Function: matchesPropertyPath()
function matchesPropertyPath(
node: Readonly<Property>,
expectedPath: readonly string[]
): boolean;
Defined in: _internal/ast.ts:100
Check whether a property resolves to the provided nested path.
Parametersโ
nodeโ
Readonly<Property>
expectedPathโ
readonly string[]
Returnsโ
boolean