Skip to main content

Function: matchesPropertyPath()

matchesPropertyPath(`node`: `Readonly`<`Property`>, `expectedPath`: readonly `string`\[]): `boolean`

Defined in: _internal/ast.ts:97

Check whether a property resolves to the provided nested path.

Parametersโ€‹

nodeโ€‹

`Readonly`<`Property`>

expectedPathโ€‹

readonly `string`\[]

Returnsโ€‹

`boolean`