expect-to-be
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

expect-to-be

A simple and fast way to check the type of a given value.

discordBadge downloadsBadge versionBadge

NPM Info

📂・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

👥・Contact Us

If you have any problems you can join our Discord Server.


Package Sidebar

Install

npm i expect-to-be

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

11.2 kB

Total Files

13

Last publish

Collaborators

  • fb_sean