Skip to content

KBE3D / KBCore / utils / isEmpty

函数: isEmpty()

isEmpty<T>(val: T): val is T

是否为空对象或数组或Map或Set或字符串

类型参数

T

T = any

参数

val

T

返回

val is T

KBE3D @3.0.0 Copyright © 2024-present KBE3D