Commit graph

  • b662c7cddc Put new .any examples under the same header as existing Dave Cohen 2020-02-16 14:24:27 -06:00
  • 9a277dae3c Inline Predicate[] types, simplify array conditional check Dave Cohen 2020-02-16 12:48:14 -06:00
  • 9b89df2393 Docment is.any with multiple predicates in readme Dave Cohen 2020-02-15 18:04:50 -06:00
  • 54579a0167 Add multiple predicates to is.any Dave Cohen 2020-02-15 13:22:40 -06:00
  • f97029fd73 Minor readme tweaks Sindre Sorhus 2020-01-30 00:51:52 +07:00
  • 863e26ad6a 2.0.0 v2.0.0 Sindre Sorhus 2020-01-30 00:47:01 +07:00
  • 5d0ccec21c Meta tweaks Sindre Sorhus 2020-01-30 00:38:17 +07:00
  • 446a7a081e
    Add .asyncGenerator and .asyncGeneratorFunction detection (#100) Forresst 2020-01-29 18:35:58 +01:00
  • 9241816d4d
    Merge branch 'master' into async-generator Sindre Sorhus 2020-01-29 23:29:08 +07:00
  • d28c86ee27
    Propagate generic types where possible (#103) Joel Purra 2020-01-29 17:22:35 +01:00
  • 578c2584d5
    WIP document generic type parameters Joel Purra 2020-01-29 11:56:12 +01:00
  • 8871807d1b add to the assertion forresst 2020-01-28 09:05:22 +01:00
  • 1264ed0c87 Merge branch 'master' of https://github.com/sindresorhus/is.git into async-generator forresst 2020-01-28 08:15:21 +01:00
  • 6eb5d224b3 Propagate generic types where possible Joel Purra 2020-01-22 13:01:34 +01:00
  • 11003b925e Meta tweaks Sindre Sorhus 2020-01-22 18:47:01 +07:00
  • 0c3f110386 Add assertion type guards (#97) Joel Purra 2020-01-22 12:08:35 +01:00
  • 37407bad20 WIP use the Primitive type Joel Purra 2020-01-21 18:48:34 +01:00
  • a9591bca04 WIP format code example comment Joel Purra 2020-01-21 18:43:14 +01:00
  • de0ddd5355 WIP link to assertions in readme Joel Purra 2020-01-21 18:42:29 +01:00
  • bad42357de WIP output type of value which failed an assertion Joel Purra 2020-01-21 18:41:02 +01:00
  • 1e89fb4d9c Add assertion type guards Joel Purra 2019-11-08 15:44:55 +01:00
  • c842cc260f Upgrade dependencies (#101) Joel Purra 2020-01-21 17:56:44 +01:00
  • 58b23772de
    Upgrade typescript- and linting-dependencies Joel Purra 2020-01-21 15:22:38 +01:00
  • 2c057a8c63 add docs for .asyncGenerator and .asyncGeneratorFunction forresst 2019-12-27 08:22:21 +01:00
  • b90db352a3 Add .asyncGenerator and .asyncGeneratorFunction detection forresst 2019-12-27 07:59:58 +01:00
  • aeb3f74d65 Make the NodeStream type more accurate Sindre Sorhus 2019-11-13 16:06:18 +07:00
  • c25b606c3b Improve the type assertion for is.asyncFunction Sindre Sorhus 2019-11-07 16:28:20 +07:00
  • af6b03d67f Require Node.js 10 Sindre Sorhus 2019-11-07 15:56:02 +07:00
  • 0cc82c583e Fix a readme link (#96) Blaine Bublitz 2019-10-30 21:20:49 -07:00
  • 6b64eca21b
    Fix small link bug Blaine Bublitz 2019-10-30 16:32:39 -07:00
  • 8ff75abfff Tidelift tasks Sindre Sorhus 2019-10-30 20:01:23 +07:00
  • e7277de849 1.2.0 v1.2.0 Sindre Sorhus 2019-10-04 11:39:58 +07:00
  • 3f2caa4835 Revert "Bundle the required DOM types (#93)" Sindre Sorhus 2019-10-04 11:38:10 +07:00
  • 4a63743feb 1.1.0 v1.1.0 Sindre Sorhus 2019-10-03 15:00:03 +07:00
  • 7c16f20d16
    Bundle the required DOM types (#93) Sindre Sorhus 2019-10-02 23:06:53 +07:00
  • 0386657281 Bundle the required DOM types Sindre Sorhus 2019-09-18 00:33:17 +07:00
  • 0f9b8479e9 Tidelift tasks Sindre Sorhus 2019-09-10 12:46:18 +07:00
  • 7d37a7dbbc Fix unnecessary global inclusion of dom lib Aaron Friel 2019-08-25 00:57:49 -07:00
  • 0cbd9df6ce Minor refactoring Sindre Sorhus 2019-07-01 23:19:25 +07:00
  • e358e44dd5 1.0.0 v1.0.0 Sindre Sorhus 2019-06-30 15:19:21 +07:00
  • 4f4820ef2f Meta tweaks Sindre Sorhus 2019-06-30 15:15:27 +07:00
  • f04dffa575 Make is.number(NaN) return false (#90) Kai Niedziela 2019-06-30 10:09:07 +02:00
  • 235a9f165f
    Update readme.md Sindre Sorhus 2019-06-30 15:08:38 +07:00
  • 4b17aa351c
    Update readme Kai Niedziela 2019-06-23 19:23:54 +02:00
  • ffc6ce4586 Fix linting Sindre Sorhus 2019-06-15 02:12:31 +07:00
  • a53fe2297b extract isOfType<number> to a constant Kai Niedziela 2019-06-01 20:59:59 +02:00
  • 2158ce68ed do not accept NaN in is.number() Kai Niedziela 2019-05-31 12:26:13 +02:00
  • 7bf407fbf1
    Create funding.yml Sindre Sorhus 2019-05-28 12:56:17 +07:00
  • 878d111ae7 0.17.1 v0.17.1 Sindre Sorhus 2019-05-21 16:48:34 +07:00
  • 6106086a35 Revert "Drop duplicate export (#84)" Sindre Sorhus 2019-05-21 16:44:18 +07:00
  • 60e0b3c7bc
    Restore ESM import Federico Brigante 2019-05-19 12:28:05 +08:00
  • c4d100aa4a
    lint Federico Brigante 2019-05-19 12:23:30 +08:00
  • c01788855d
    Change import to require in tests /2 Federico Brigante 2019-05-19 11:32:21 +08:00
  • d3fdab0bc0
    Change import to require in tests Federico Brigante 2019-05-19 11:31:10 +08:00
  • 1dce31d2a8
    Drop default export Federico Brigante 2019-05-18 22:37:06 +08:00
  • 58daa3eaf4
    /2 Federico Brigante 2019-05-16 17:26:33 +08:00
  • cd6949dd83
    Real ESM export to fool eslint#import/default Federico Brigante 2019-05-16 17:23:32 +08:00
  • e4b9bcda87
    Lint: trailing whitespace Federico Brigante 2019-05-16 17:08:34 +08:00
  • 7c8b90ffb5
    Restore non-interop ES Modules support Federico Brigante 2019-05-16 16:56:24 +08:00
  • b064473589 0.17.0 v0.17.0 Sindre Sorhus 2019-05-13 11:07:28 +07:00
  • 04cd282265 Fix the capitalization of is.bigInt64Array and is.bigUint64Array Sindre Sorhus 2019-05-13 11:04:48 +07:00
  • 9bc8307770 0.16.0 v0.16.0 Sindre Sorhus 2019-05-04 16:13:44 +07:00
  • 2dac8e96f4 Meta tweaks Sindre Sorhus 2019-05-04 16:11:43 +07:00
  • dd2a91dce5 Add support for BigInt (#87) Vlad Frangu 2019-05-04 12:05:23 +03:00
  • 6de9551bf0
    lint Vlad Frangu 2019-05-03 10:33:42 +03:00
  • 3cda4d0bdb
    src: Missed changes Vlad Frangu 2019-05-03 10:29:38 +03:00
  • aa095cc048
    src: Also revert the URL constructor removal Vlad Frangu 2019-05-03 10:18:36 +03:00
  • 6cbd76218d
    misc: Revert the package.json change Vlad Frangu 2019-05-03 10:14:01 +03:00
  • 6ce169cf82
    misc: Requested changes Vlad Frangu 2019-05-03 10:11:40 +03:00
  • 7b1ddeb238
    test: Add all remaining tests, and make sure everything passes Vlad Frangu 2019-05-02 14:17:04 +03:00
  • 237dd87aeb
    src: Missed some code for BigInt/BigUint classes Vlad Frangu 2019-05-02 14:04:25 +03:00
  • 9c332eb64a
    src: BigInt enum entry should be lowercased Vlad Frangu 2019-05-02 14:00:00 +03:00
  • 8d979dd8a5
    src: Implement BigInt support, remove nodejs 8 Vlad Frangu 2019-05-02 13:52:55 +03:00
  • 373605e40d Test coverage for is(value) (#86) Adam Babcock 2019-04-28 03:15:11 -05:00
  • 7910107899
    Update test.ts Sindre Sorhus 2019-04-28 14:57:33 +07:00
  • 5145bdf847 Add TypeName.Generator Adam Babcock 2019-04-19 12:41:54 -05:00
  • c15534f9d5 PR feedback Adam Babcock 2019-04-19 12:30:13 -05:00
  • a77158d720 Add element type checks Adam Babcock 2019-04-19 10:51:35 -05:00
  • 88b0c5bbc2 Add typename to tests Adam Babcock 2019-04-19 10:49:06 -05:00
  • 120f74ab63 Require Node.js 8 Sindre Sorhus 2019-03-31 21:50:37 +07:00
  • ea4204f0b4 Switch to XO for linting Sindre Sorhus 2019-03-31 20:41:19 +07:00
  • 28913cae88 Drop duplicate export (#84) Federico Brigante 2019-03-14 17:32:19 +08:00
  • 603c1f210d
    Lint Federico Brigante 2019-03-13 15:12:37 +08:00
  • 19c992747d
    Drop duplicate export Federico Brigante 2019-03-13 14:28:18 +08:00
  • 79144f9542 Readme tweaks Sindre Sorhus 2019-02-12 14:40:44 +07:00
  • c66885b781 Add sideEffects key to package.json Sindre Sorhus 2019-02-04 12:49:52 +07:00
  • 0fff8265e6 Fix tests Sindre Sorhus 2019-02-04 03:00:25 +07:00
  • 3ec41686f7 0.15.0 v0.15.0 Sindre Sorhus 2019-02-04 02:55:36 +07:00
  • 2f5e03bed2 Minor tweaks Sindre Sorhus 2019-02-04 02:44:17 +07:00
  • 9683cd7fd9 Run TS as a require hook for tests instead of precompile Sindre Sorhus 2019-02-04 02:37:14 +07:00
  • 3c847be5a0 Improve the TypeScript types (#80) Sindre Sorhus 2019-02-04 02:13:23 +07:00
  • 2502442404 Rename .odd() to .oddInteger() and .even() to .evenInteger() for clarity (#77) Scottie Enriquez 2019-02-02 00:22:23 -06:00
  • 16435d510b More improvements Sindre Sorhus 2019-02-02 21:42:53 +07:00
  • f0c73b0f21 Improve the TypeScript types Sindre Sorhus 2019-02-02 03:02:47 +07:00
  • cbd9f061c5 #70: renamed odd to oddInteger and even to evenInteger for clarity (#77) Scottie Enriquez 2019-02-02 00:22:23 -06:00
  • afb47a4b97 Fix merge conflicts from #78 Scottie Enriquez 2019-02-01 17:21:51 -06:00
  • 641d856b36
    Stop using TypeScript namespace (#78) Sindre Sorhus 2019-02-02 01:14:08 +07:00
  • 03dca5b305 Revert the name changes :( Sindre Sorhus 2019-02-02 01:08:22 +07:00
  • 7589763724 Stop using TypeScript namespace Sindre Sorhus 2019-01-26 18:13:17 +07:00
  • 97107a13a1 #70: renamed odd to oddInteger and even to evenInteger for clarity Scottie Enriquez 2019-01-12 15:57:41 -06:00