feat: adding linter for commits
This commit is contained in:
22
node_modules/is-obj/index.d.ts
generated
vendored
Normal file
22
node_modules/is-obj/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
/**
|
||||
Check if a value is an object.
|
||||
|
||||
Keep in mind that array, function, regexp, etc, are objects in JavaScript.
|
||||
|
||||
@example
|
||||
```
|
||||
import isObject = require('is-obj');
|
||||
|
||||
isObject({foo: 'bar'});
|
||||
//=> true
|
||||
|
||||
isObject([1, 2, 3]);
|
||||
//=> true
|
||||
|
||||
isObject('foo');
|
||||
//=> false
|
||||
```
|
||||
*/
|
||||
declare function isObject(value: unknown): value is object;
|
||||
|
||||
export = isObject;
|
Reference in New Issue
Block a user