Function: isJsonObject()
function isJsonObject(value: JsonValue | undefined): value is { [key: string]: JsonValue };Defined in: server/insights/ask/parse-draft.ts:133
True for a JSON object (not an array, not null, not absent). Accepts
undefined so it composes with indexed access under
noUncheckedIndexedAccess.
Parameters
| Parameter | Type |
|---|---|
value | JsonValue | undefined |
Returns
value is { [key: string]: JsonValue }