Arnovsky
3f93bf200d
Add is.array overload that supports asserting array items ( #119 )
...
Co-authored-by: Pedro Augusto de Paula Barbosa <papb1996@gmail.com>
Co-authored-by: Giora Guttsait <giora111@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-07-25 09:11:59 +02:00
Bjorn Stromberg
a96abee1a3
Use shields.io for number of downloads per week ( #118 )
2020-06-27 19:13:23 +08:00
Dave Cohen
d1929ad47c
Add support for multiple predicates to is.any ( #104 )
2020-02-16 20:06:19 -05:00
Sindre Sorhus
f97029fd73
Minor readme tweaks
2020-01-30 00:51:52 +07:00
Sindre Sorhus
5d0ccec21c
Meta tweaks
2020-01-30 00:45:06 +07:00
Forresst
446a7a081e
Add .asyncGenerator and .asyncGeneratorFunction detection ( #100 )
2020-01-30 00:35:58 +07:00
Joel Purra
d28c86ee27
Propagate generic types where possible ( #103 )
2020-01-29 23:22:35 +07:00
Sindre Sorhus
11003b925e
Meta tweaks
2020-01-22 19:17:43 +07:00
Joel Purra
0c3f110386
Add assertion type guards ( #97 )
2020-01-22 18:08:35 +07:00
Blaine Bublitz
0cc82c583e
Fix a readme link ( #96 )
2019-10-31 11:20:49 +07:00
Sindre Sorhus
8ff75abfff
Tidelift tasks
2019-10-30 20:01:23 +07:00
Sindre Sorhus
0f9b8479e9
Tidelift tasks
2019-09-10 12:46:18 +07:00
Sindre Sorhus
4f4820ef2f
Meta tweaks
2019-06-30 15:18:24 +07:00
Kai Niedziela
f04dffa575
Make is.number(NaN) return false ( #90 )
...
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-06-30 15:09:07 +07:00
Sindre Sorhus
04cd282265
Fix the capitalization of is.bigInt64Array and is.bigUint64Array
2019-05-13 11:04:48 +07:00
Sindre Sorhus
79144f9542
Readme tweaks
2019-02-12 14:40:44 +07:00
Scottie Enriquez
2502442404
Rename .odd() to .oddInteger() and .even() to .evenInteger() for clarity ( #77 )
2019-02-04 02:38:38 +07:00
Sindre Sorhus
0e1cce5d45
Fix readme typo
2019-01-11 16:34:29 +07:00
Itai Steinherz
4d0120adb7
Fix is.urlString documentation ( #76 )
2018-12-13 22:38:35 +01:00
Itai Steinherz
566f363632
Add is.urlString ( #73 )
2018-12-13 16:52:21 +01:00
jokebookservice1
b8a9fb457c
Minor documentational correction ( #69 )
2018-11-02 23:04:44 +07:00
Sindre Sorhus
69bbf2d4be
Readme improvements
2018-11-02 19:07:38 +07:00
Itai Steinherz
7317226c80
Add is.numericString() ( #67 )
2018-11-01 18:21:49 +07:00
Sindre Sorhus
45c976071a
Don't import util
...
We don't really need its full power. Not worth the bloat.
2018-09-28 13:32:55 +07:00
Arfat Salman
6e07df5896
Add emptiness methods ( #61 )
...
Fix #53
2018-09-28 13:24:35 +07:00
Artur Androsovych
3bdaf21475
Add is.urlInstance ( #60 )
2018-07-10 16:04:20 +07:00
Artur Androsovych
c8736c2972
Add is.asyncIterable ( #59 )
2018-07-10 00:35:16 +07:00
Sindre Sorhus
ff268de3d0
Add related module to the readme
2018-06-30 02:07:02 +07:00
Sam Verschueren
55c00956f9
Add is.observable ( #50 )
2018-05-03 10:22:32 +07:00
Sam Verschueren
8894dbec17
Add type guards ( #43 )
2018-04-04 00:05:59 +07:00
Amit Merchant
5670ed7a97
Minor readme improvement ( #44 )
2018-03-30 10:55:09 +07:00
Brandon Smith
70b08940be
Add is.directInstanceOf() ( #38 )
2017-12-09 11:55:08 -05:00
Brandon Smith
a04a04c131
Add is.nodeStream() ( #34 )
2017-11-20 03:16:06 +07:00
Darren Scerri
319982a09c
Add is.boundFunction() ( #31 )
2017-11-10 13:11:35 -05:00
Sindre Sorhus
89fc424975
Add has-emoji to the Related section in the readme
...
Closes #24
2017-11-08 17:22:23 +07:00
Brandon Smith
83adc096ef
Add is.arrayLike() ( #26 )
2017-10-26 09:30:17 -04:00
Sindre Sorhus
0bafa04e77
Welcome @brandon93s to the project 🎉 🌟
2017-10-23 19:04:11 +07:00
Sindre Sorhus
bd428997a2
Remove trailing whitespace
2017-10-23 19:03:35 +07:00
Brandon Smith
dfcdfc3a83
Add is.truthy() and is.falsy() ( #25 )
2017-10-20 17:49:52 +03:00
Brandon Smith
cdd4829edf
Add is.emptyOrWhitespace() ( #21 )
2017-10-17 23:46:58 +03:00
Brandon Smith
615932d6c2
Add is.even() and is.odd() ( #23 )
2017-10-17 22:36:10 +07:00
Brandon Smith
00974a2fe9
Add is.safeInteger() ( #22 )
2017-10-17 18:19:17 +03:00
Brandon Smith
dc3b6ff86b
Add is.asyncFunction ( #20 )
2017-10-16 10:29:10 +07:00
Kodie Grantham
651f434eab
Add is.any() and is.all() methods ( #19 )
2017-10-11 16:26:45 +07:00
Melvin
75ac3cd574
Add is.domElement() ( #11 )
2017-10-07 23:19:11 +07:00
Melvin
6268253ec6
Add link to is-blob ( #17 )
2017-10-06 14:48:04 +07:00
Kodie Grantham
46e886d10b
Add is.empty() ( #16 )
2017-10-06 14:39:36 +07:00
Melvin Philips
24c964a7c7
Add is.infinite()
2017-10-05 18:52:27 +07:00
Kunall Banerjee
dbe5cc8d82
Add is.generator() and is.generatorFunction() ( #4 )
2017-09-29 10:01:48 +07:00
Sindre Sorhus
e97e68cd01
Welcome @gioragutt as a maintainer
2017-09-28 13:26:23 +07:00