.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / is-obj / index.d.ts
1 /**
2 Check if a value is an object.
3
4 Keep in mind that array, function, regexp, etc, are objects in JavaScript.
5
6 @example
7 ```
8 import isObject = require('is-obj');
9
10 isObject({foo: 'bar'});
11 //=> true
12
13 isObject([1, 2, 3]);
14 //=> true
15
16 isObject('foo');
17 //=> false
18 ```
19 */
20 declare function isObject(value: unknown): value is object;
21
22 export = isObject;