UNPKG

@types/is-buffer

Version:

TypeScript definitions for is-buffer

12 lines (8 loc) 354 B
// Type definitions for is-buffer 2.0 // Project: https://github.com/feross/is-buffer#readme // Definitions by: Junyoung Choi <https://github.com/rokt33r> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.0 /// <reference types='node' /> declare function isBuffer(obj: any): obj is Buffer; export = isBuffer;