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

Function assertPipeArgument

packages/common/src/pipes/case_conversion_pipes.ts:125–129  ·  view source on GitHub ↗
(pipe: Type<any>, value: Object)

Source from the content-addressed store, hash-verified

123}
124
125function assertPipeArgument(pipe: Type<any>, value: Object): void {
126 if (typeof value !== 'string') {
127 throw invalidPipeArgumentError(pipe, value);
128 }
129}

Callers 3

transformMethod · 0.85
transformMethod · 0.85
transformMethod · 0.85

Calls 1

invalidPipeArgumentErrorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…