@cpanel/api
Version:
cPanel API JavaScript and TypeScript interface libraries. This library provides a set of classes for calling cPanel WHM API 1 and UAPI calls. The classes hide much of the complexity of these APIs behind classes the abstract the underlying variances betwee
9 lines (8 loc) • 308 B
TypeScript
/**
* Verify if the value can be serialized to JSON
*
* @param value Value to check.
* @source https://stackoverflow.com/questions/30579940/reliable-way-to-check-if-objects-is-serializable-in-javascript#answer-30712764
*/
declare function isSerializable(value: any): boolean;
export { isSerializable };