Skip to content

v1.1.8

Choose a tag to compare

@nyaomaru nyaomaru released this 03 Jan 07:09
· 53 commits to main since this release
Immutable release. Only release title and notes can be modified.
b97c2ca

What’s new 🚀

  • Added numeric guards isNaN, isInfiniteNumber, and isZero for handling NaN, ±Infinity, and zero edge cases.
  • Updated tests and documentation to cover the new helpers and examples.
import { isNaN, isInfiniteNumber, isZero } from 'is-kit';

isNaN(NaN); // true
isNaN(0); // false

isInfiniteNumber(Infinity); // true
isInfiniteNumber(1); // false

isZero(0); // true
isZero(-0); // true
isZero(1); // false

What's Changed

  • docs(changelog): 1.1.7 by @github-actions[bot] in #100
  • chore(deps): Update pnpm to v10.27.0 by @renovate[bot] in #101
  • chore(deps): Update jdx/mise-action action to v3 by @renovate[bot] in #103
  • feat: add numeric primitive guards by @nyaomaru in #102
  • Release: 1.1.8 by @github-actions[bot] in #104

Full Changelog: v1.1.7...v1.1.8