Skip to main content

Function: getIdentifierMemberCall()

getIdentifierMemberCall(options: Readonly<{ memberName: string; node: Readonly<TSESTree.CallExpression>; objectName: string; }>): IdentifierMemberCallExpression | null

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

Match ObjectName.methodName(...) style calls.

Parametersโ€‹

optionsโ€‹

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

Candidate call expression and expected receiver/member names.

Returnsโ€‹

IdentifierMemberCallExpression | null

Narrowed call expression when the shape matches; otherwise null.