@annexe/set.isset
v0.1.1
Published
A utility function to check if a value is of Set type.
Readme
@annexe/isset
A utility function to check if a value is of Set type.
Installation
To install @annexe/isset
Yarn
yarn add @annexe/issetNPM
npm install @annexe/issetUsage
import { isSet } from '@annexe/isset';
console.log(isSet(123)); // logs FALSE
console.log(isSet(new Set([1, 2, 3])); // logs TRUE