MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / objectValue

Function objectValue

packages/nativescript-inspector/src/index.ts:1988–1990  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1986}
1987
1988function objectValue(value: unknown): JSONObject {
1989 return value && typeof value === "object" ? (value as JSONObject) : {};
1990}
1991
1992function stringValue(value: unknown): string {
1993 if (value == null) {

Callers 3

sourceLocationFromNodeFunction · 0.85
infoAnnouncementKeyFunction · 0.85
nativeScriptAvailableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected