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