UNPKG

node-network-devtools

Version:

Inspecting Node.js's Network with Chrome DevTools

16 lines 558 B
/** * Checks if a status code is allowed in a close frame. * * @param {number} code The status code * @return {boolean} `true` if the status code is valid, else `false` */ export declare function isValidStatusCode(code: number): boolean; /** * Determines whether a value is a `Blob`. * * @param {*} value The value to be tested * @return {boolean} `true` if `value` is a `Blob`, else `false` */ export declare function isBlob(value: any): boolean; export declare const isValidUTF8: (buf: Buffer) => boolean; //# sourceMappingURL=validation.d.ts.map