update description for isPrimitive, add 2 tests, isPrimitive & isPrime
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
### isPrimitive
|
||||
|
||||
Returns a boolean determining if the supplied value is primitive or not.
|
||||
Returns a boolean determining if the passed value is primitive or not.
|
||||
|
||||
Use `Array.includes()` on an array of type strings which are not primitive,
|
||||
supplying the type using `typeof`.
|
||||
|
||||
Reference in New Issue
Block a user