UNPKG
ast-is-empty
Version:
latest (4.1.0)
4.1.0
4.0.30
4.0.29
4.0.28
4.0.19
4.0.18
4.0.15
4.0.14
4.0.13
4.0.12
4.0.11
4.0.10
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.14
3.0.13
3.0.12
3.0.11
3.0.10
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.1.0
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.11.0
1.10.11
1.10.10
1.10.9
1.10.8
1.10.7
1.10.6
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.55
1.9.54
1.9.53
1.9.52
1.9.51
1.9.50
1.9.49
1.9.48
1.9.47
1.9.46
1.9.45
1.9.44
1.9.43
1.9.42
1.9.41
1.9.40
1.9.39
1.9.38
1.9.37
1.9.36
1.9.35
1.9.34
1.9.32
1.9.31
1.9.29
1.9.28
1.9.27
1.9.26
1.9.25
1.9.24
1.9.23
1.9.22
1.9.21
1.9.20
1.9.19
1.9.18
1.9.17
1.9.16
1.9.15
1.9.14
1.9.13
1.9.12
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.4.0
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
Find out, is nested array/object/string/AST tree is empty
codsen.com/os/ast-is-empty
codsen/codsen
ast-is-empty
/
types
/
index.d.ts
8 lines
(6 loc)
•
188 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
declare
const
version
:
string
;
/** * Find out, is nested array/object/string/AST tree is empty */
declare
function
isEmpty
(
input
:
unknown
):
boolean
|
null
;
export
{ isEmpty, version };