MCPcopy Create free account
hub / github.com/angular/angular / isPipe

Function isPipe

packages/core/src/render3/jit/util.ts:30–32  ·  view source on GitHub ↗
(value: Type<T>)

Source from the content-addressed store, hash-verified

28}
29
30export function isPipe<T>(value: Type<T>): value is PipeType<T> {
31 return !!getPipeDef(value);
32}
33
34export function isDirective<T>(value: Type<T>): value is DirectiveType<T> {
35 return !!getDirectiveDef(value);

Callers 2

computeNgModuleScopeMethod · 0.90

Calls 1

getPipeDefFunction · 0.90

Tested by

no test coverage detected