DefinitelyTyped/types/is-buffer/index.d.ts
2018-12-10 10:55:40 +09:00

12 lines
354 B
TypeScript

// 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;