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