expect-to-be
A simple and fast way to check the type of a given value.
📂 ・Installation
npm i expect-to-be
💡・Features
- Made in TS
- Simple
- No third party packages
📃 ・Usage
import { expectObject } from 'expect-to-be';
expectObject({}); // TRUE
expectObject(null); // FALSE