json-rpc-protocol
Version:
JSON-RPC 2 protocol messages parsing and formatting
6 lines (5 loc) • 330 B
TypeScript
export declare const isNumber: (value: any) => value is number;
export declare const isInteger: (value: any) => value is number;
export declare const isString: (value: any) => value is string;
export declare type ObjectType = object | ((...args: any[]) => any);
export declare const isObject: (value: any) => value is ObjectType;