Skip to content

Releases: mesqueeb/is-what

v4.1.1

24 Jan 15:04
Compare
Choose a tag to compare

v4.1.0...v4.1.1

isPositiveNumber / isNegativeNumber

15 Oct 07:35
Compare
Choose a tag to compare
  • chore: build 22e44ea
  • feat: add isPositiveNumber / isNegativeNumber 35623b9
  • feat(docs): greatly improve docs 05d4ae4
  • chore: update dependencies 2a0da4a
  • build: rename "typings" → "types" 088429c

v4.0.0...v4.1.0

ESM release!

08 Mar 02:14
Compare
Choose a tag to compare

Breaking change

  • now requires node v12+
  • doesn't use commonJS anymore (see more on why here)

other

v3.14.1...v4.0.0

v3.14.1

22 Feb 00:16
Compare
Choose a tag to compare

v3.14.0...v3.14.1

v3.14.0

21 Feb 23:51
Compare
Choose a tag to compare

v3.13.0...v3.14.0

v3.13.0

19 Feb 12:28
Compare
Choose a tag to compare

others

v3.11.1...v3.13.0

Deno release 🦕

05 Aug 01:31
Compare
Choose a tag to compare

Deno release 🦕

Deno 🦕

04 Aug 09:14
Compare
Choose a tag to compare

Support Deno!

isPlainObject vs isAnyObject 🎭

03 Aug 01:50
Compare
Choose a tag to compare

🎉🍻🍸💃🍾🎈🎶

Now averaging about 400,000 weekly downloads!!!
Thanks so much for all the support on is-what!

isPlainObject vs isAnyObject 🦀

Starting version 3.0 i've deprecated isObject as checker, since it's too ambiguous.
It's much better to be accurate between "any kind of object" and just a "plain JS object".
See the documentation here.

--
is-what was made with ♥ by Luca Ban.
If this library helped you in any way you can support me by buying me a cup of coffee. ☕️

TypeScript to the moon! 🌝

02 Oct 15:29
Compare
Choose a tag to compare

TypeScript 💍

is-what is now fully TypeScript supported! It will let TypeScript know mid-way an if statement which type the variable is if you check it with is-what. 🤯

Check the readme section on TypeScript.

New functions 🧢

  • isPrimitive to check if a payload is a JavaScript primitive or not
  • isType to check that the given payload is of a given type (useful to check for classes!)

All new Documentation! 🕶

Completely rewrote the Readme!