MCPcopy Index your code
hub / github.com/reactjs/react-codemod / isFunctionExpression

Function isFunctionExpression

transforms/class.js:127–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 ));
126
127 const isFunctionExpression = node => (
128 node.key &&
129 node.key.type === 'Identifier' &&
130 node.value &&
131 node.value.type === 'FunctionExpression'
132 );
133
134 const isPrimProperty = prop => (
135 prop.key &&

Callers 2

canConvertToClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected