mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 08:26:35 +08:00
11 lines
170 B
TypeScript
11 lines
170 B
TypeScript
import isEmpty = require('is-empty');
|
|
|
|
isEmpty({});
|
|
isEmpty(null);
|
|
isEmpty(undefined);
|
|
isEmpty(9);
|
|
isEmpty(new Object());
|
|
isEmpty(Array);
|
|
isEmpty('');
|
|
isEmpty(() => {});
|