Skip to content

asObject

asObject(value, label): JsonObject

Defined in: src/validation.ts:8

Narrow value to a plain object or throw with a descriptive label-prefixed message.

unknown

string

JsonObject