MCPcopy
hub / github.com/angular/angular-cli / isJsonObject

Function isJsonObject

packages/angular_devkit/core/src/json/utils.ts:18–20  ·  view source on GitHub ↗
(value: JsonValue)

Source from the content-addressed store, hash-verified

16export type JsonValue = boolean | string | number | JsonArray | JsonObject | null;
17
18export function isJsonObject(value: JsonValue): value is JsonObject {
19 return value != null && typeof value === 'object' && !Array.isArray(value);
20}
21
22export function isJsonArray(value: JsonValue): value is JsonArray {
23 return Array.isArray(value);

Callers 15

migration.tsFile · 0.90
newHandlerFunction · 0.90
parseWorkspaceFunction · 0.90
parseProjectsObjectFunction · 0.90
parseProjectFunction · 0.90
parseTargetsObjectFunction · 0.90
getFunction · 0.90
transformUndefinedFunction · 0.90
getTypesOfSchemaFunction · 0.90
visitorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected