(fn: any)
| 95 | |
| 96 | /** Checks whether a function is wrapped by a `forwardRef`. */ |
| 97 | export function isForwardRef(fn: any): fn is () => any { |
| 98 | return ( |
| 99 | typeof fn === 'function' && |
| 100 | Object.hasOwn(fn, __forward_ref__) && |
| 101 | fn.__forward_ref__ === forwardRef |
| 102 | ); |
| 103 | } |
no outgoing calls
no test coverage detected