Skip to content

@longmo-utils/common / isSet

Function: isSet()

ts
function isSet(arg): boolean;

是否是Set

Parameters

ParameterTypeDescription
argany参数

Returns

boolean

true|false

Example

ts
isSet(new Set([1,2,3])) // true

Released under the MIT License.