Search...

isJSONEncodable

declare function isJSONEncodable(maybeEncodable: unknown): maybeEncodable is JSONEncodable<unknown>;
declare function isJSONEncodable(maybeEncodable: unknown): maybeEncodable is JSONEncodable<unknown>;
Indicates if an object is encodable or not.
NameTypeOptionalDescription
maybeEncodableunknownNoThe object to check against