Skip to content

Utils / isNonEmptyMap

Function: isNonEmptyMap()

isNonEmptyMap<Key, Value>(value: unknown): value is Map<Key, Value>

用于判断是否为非空Map

Type Parameters

Type ParameterDefault type
Keyunknown
Valueunknown

Parameters

ParameterType
valueunknown

Returns

value is Map<Key, Value>

MIT Licensed