is

Type check values

MIT License

Downloads
75.8M
Stars
1.6K
Committers
52

Bot releases are visible (Hide)

is -

Published by sindresorhus over 2 years ago

is -

Published by sindresorhus over 2 years ago

  • Add type guard for is.truthy and is.falsy (#151) 63d75d6

https://github.com/sindresorhus/is/compare/v4.3.0...v4.4.0

is -

Published by sindresorhus almost 3 years ago

  • Add is.enumCase and assert.enumCase (#150) a5b4017

https://github.com/sindresorhus/is/compare/v4.2.1...v4.3.0

is -

Published by sindresorhus almost 3 years ago

  • Fix is.iterable and is.asyncIterable TypeScript types (#149) ad661eb

https://github.com/sindresorhus/is/compare/v4.2.0...v4.2.1

is -

Published by sindresorhus about 3 years ago

  • Add is.formData and is.urlSearchParams (#139) a8de3d6

https://github.com/sindresorhus/is/compare/v4.1.0...v4.2.0

is -

Published by sindresorhus about 3 years ago

  • Add is.propertyKey (#138) d2f98e4
    • Especially useful in TypeScript as a type guard.

https://github.com/sindresorhus/is/compare/v4.0.1...v4.1.0

is -

Published by sindresorhus over 3 years ago

  • Fix assertion message for .all and .any (#132) b748ab7

https://github.com/sindresorhus/is/compare/v4.0.0...v4.0.1

is -

Published by sindresorhus about 4 years ago

Breaking for TypeScript users

  • Improve is.plainObject TypeScript type (#126) 94749db

https://github.com/sindresorhus/is/compare/v3.1.2...v4.0.0

is -

Published by sindresorhus about 4 years ago

  • Fix using is.array in is.all (#125) d8ced89

https://github.com/sindresorhus/is/compare/v3.1.1...v3.1.2

is -

Published by sindresorhus about 4 years ago

  • Improve import for VS Code (#122) 4c29fb3

https://github.com/sindresorhus/is/compare/v3.1.0...v3.1.1

is -

Published by sindresorhus about 4 years ago

  • Add is.array overload that supports asserting array items (#119) 3f93bf2

https://github.com/sindresorhus/is/compare/v3.0.0...v3.1.0

is -

Published by sindresorhus over 4 years ago

Breaking for TypeScript users

https://github.com/sindresorhus/is/compare/v2.1.1...v3.0.0

is -

Published by sindresorhus over 4 years ago

  • Fix is.numericString to behave correctly on whitespaces (#110)

https://github.com/sindresorhus/is/compare/v2.1.0...v2.1.1

is -

Published by sindresorhus over 4 years ago

  • Add support for multiple predicates to is.any (#104) d1929ad

https://github.com/sindresorhus/is/compare/v2.0.0...v2.1.0

is -

Published by sindresorhus over 4 years ago

Breaking

  • Require Node.js 10 af6b03d

Improvements

https://github.com/sindresorhus/is/compare/v1.2.0...v2.0.0

is -

Published by sindresorhus about 5 years ago

  • Revert "Bundle the required DOM types (#93)" 3f2caa4
    We forgot to bundle the Element type, which is very complex and cannot easily be bundled, so turns out bundling the required DOM types is not feasible, see https://github.com/sindresorhus/is/issues/94.

https://github.com/sindresorhus/is/compare/v1.1.0...v1.2.0

is -

Published by sindresorhus about 5 years ago

  • Bundle the required DOM types (#93) 7c16f20

https://github.com/sindresorhus/is/compare/v1.0.0...v1.1.0

is -

Published by sindresorhus over 5 years ago

Breaking:

  • Make is.number(NaN) return false (#90) f04dffa

https://github.com/sindresorhus/is/compare/v0.17.1...v1.0.0

is -

Published by sindresorhus over 5 years ago

  • Fix usage when not having esModuleInterop: true in tsconfig.json (#84)" 6106086

https://github.com/sindresorhus/is/compare/v0.17.0...v0.17.1

is -

Published by sindresorhus over 5 years ago

  • Fix the capitalization of is.bigInt64Array and is.bigUint64Array 04cd282

https://github.com/sindresorhus/is/compare/v0.16.0...v0.17.0