Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 541 Bytes

File metadata and controls

22 lines (14 loc) · 541 Bytes

@eslint-react/core / isComponentWrapperCallback

Function: isComponentWrapperCallback()

function isComponentWrapperCallback(context: RuleContext, node: Node): boolean;

Check if the node is a callback function passed to a component wrapper

Parameters

Parameter Type Description
context RuleContext The ESLint rule context
node Node The node to check

Returns

boolean

true if the node is a callback function passed to a component wrapper