Skip to main content

Function: getIdentifierPropertyMemberCall()

getIdentifierPropertyMemberCall(options: Readonly<{ memberName: string; node: Readonly<TSESTree.CallExpression>; }>): IdentifierPropertyMemberCallExpression | null

Defined in: _internal/member-call.ts:77

Match <expression>.memberName(...) style calls where the property is a non-computed identifier.

Parametersโ€‹

optionsโ€‹

Readonly<{ memberName: string; node: Readonly<TSESTree.CallExpression>; }>

Candidate call expression and expected member name.

Returnsโ€‹

IdentifierPropertyMemberCallExpression | null

Narrowed call expression when matched; otherwise null.