import isReactBuiltinCall from './isReactBuiltinCall.js'; /** * Returns true if the expression is a function call of the form * `React.cloneElement(...)`. */ export default function isReactCloneElementCall(path) { return isReactBuiltinCall(path, 'cloneElement'); }