Search...

isJSONEncodable

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