Skip to content

TypeScript to the moon! 🌝

Compare
Choose a tag to compare
@mesqueeb mesqueeb released this 02 Oct 15:29

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!