is_json_deep<T>(value: any): value is JsonPrimitive | Record<string, T> | T[]
Returns true if value, and any deeply contained values, are json types.
Note that this does not guarantee that all values are encodable.
Note that object members may be undefined
Type Parameters
T
Parameters
value: any
Returns value is JsonPrimitive | Record<string, T> | T[]
Returns true if value, and any deeply contained values, are json types. Note that this does not guarantee that all values are encodable. Note that object members may be undefined