UNPKG
@minionorg/share
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
函数库,工具库
github.com/minionorg/share-open
minionorg/share-open
@minionorg/share
/
typings
/
packages
/
ObjectUtils
/
isEmpty
/
index.d.ts
12 lines
(11 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * 判断是为空的对象 * *
@param
{object} obj 将要判断的对象 *
@return
{boolean} 空为真 *
@example
* isEmpty({a: 1}) = false * isEmpty({}) = true */
declare
function
isEmpty
(
obj:
object
):
boolean
; export
default
isEmpty;