MCPcopy Index your code
hub / github.com/angular/angular / isForwardRef

Function isForwardRef

packages/core/src/di/forward_ref.ts:98–104  ·  view source on GitHub ↗
(fn: any)

Source from the content-addressed store, hash-verified

96
97/** Checks whether a function is wrapped by a `forwardRef`. */
98export 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}

Callers 3

getFactoryOfFunction · 0.90
verifyStandaloneImportFunction · 0.90
resolveForwardRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…