UNPKG
has-empty
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
has-empty-value is a package used to check the value is empty.
github.com/ShakthiNR/is-empty
has-empty
/
dist
/
index.d.ts
7 lines
(4 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
type
PrimitiveTypes
=
string
|
number
|
boolean
|
null
|
undefined
;
type
IValue
=
PrimitiveTypes
|
Array
<
PrimitiveTypes
> |
object
;
declare
const
hasEmpty
:
(
value
:
Partial
<
IValue
>
) =>
boolean
;
export
{
type
IValue
,
type
PrimitiveTypes
, hasEmpty };