update description for isPrimitive, add 2 tests, isPrimitive & isPrime

This commit is contained in:
Stefan Feješ
2018-01-10 15:19:09 +01:00
parent 3c8840a2d3
commit 55699201a4
3 changed files with 10 additions and 1 deletions

View File

@ -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`.