do not accept NaN in is.number()
This commit is contained in:
parent
7bf407fbf1
commit
2158ce68ed
3 changed files with 5 additions and 2 deletions
|
|
@ -68,6 +68,9 @@ All the below methods accept a value and returns a boolean for whether the value
|
|||
##### .null(value)
|
||||
##### .string(value)
|
||||
##### .number(value)
|
||||
|
||||
Note: `is.number(NaN)` returns `false`.
|
||||
|
||||
##### .boolean(value)
|
||||
##### .symbol(value)
|
||||
##### .bigint(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue