mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-27 11:12:45 +00:00
11 lines
124 B
TypeScript
11 lines
124 B
TypeScript
import isObj = require('is-obj');
|
|
|
|
isObj({foo: 'bar'});
|
|
// => true
|
|
|
|
isObj([1, 2, 3]);
|
|
// => true
|
|
|
|
isObj('foo');
|
|
// => false
|