Fixed typo

Is boolean => Is function
This commit is contained in:
Alberto Schiabel
2017-12-14 12:43:44 +01:00
committed by GitHub
parent 1e0f46cb6c
commit ac5c3d3f15

View File

@ -562,7 +562,7 @@ const isBoolean = val => typeof val === 'boolean';
```
[⬆ back to top](#table-of-contents)
### Is boolean
### Is function
Use `typeof` to check if a value is classified as a function primitive.