Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ unwrapSignal
Function
unwrapSignal
devtools/projects/ng-devtools-backend/src/lib/utils.ts:57–67 ·
view source on GitHub ↗
(s: any)
Source
from the content-addressed store, hash-verified
55
}
56
57
export
function
unwrapSignal(s: any): any {
58
if
(!isSignal(s)) {
59
return
s;
60
}
61
62
const
{error, value} = safelyReadSignalValue(s);
63
if
(error) {
64
return
;
65
}
66
return
value;
67
}
Callers
8
getNestedPropertiesCallback
Function · 0.90
createShallowSerializedDescriptor
Function · 0.90
getNestedDescriptorValue
Function · 0.90
getLevelDescriptorValue
Function · 0.90
nestedSerializer
Function · 0.90
serializeDirectiveState
Function · 0.90
getKeys
Function · 0.90
logToConsole
Function · 0.90
Calls
2
safelyReadSignalValue
Function · 0.85
isSignal
Function · 0.70
Tested by
no test coverage detected