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

Function isPrimExpression

transforms/class.js:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 };
120
121 const isPrimExpression = node => (
122 node.type === 'Literal' || ( // NOTE this might change in babylon v6
123 node.type === 'Identifier' &&
124 node.name === 'undefined'
125 ));
126
127 const isFunctionExpression = node => (
128 node.key &&

Callers 2

isPrimPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected