Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
125
function
assertPipeArgument(pipe: Type<any>, value: Object): void {
126
if
(typeof value !==
'string'
) {
127
throw invalidPipeArgumentError(pipe, value);
128
}
129
}
Callers
3
transform
Method · 0.85
transform
Method · 0.85
transform
Method · 0.85
Calls
1
invalidPipeArgumentError
Function · 0.90
Tested by
no test coverage detected