Zazama /
node-id3
| 1 | /** |
||
| 2 | * @param {any} value |
||
| 3 | * @returns {boolean} true if value is a function |
||
| 4 | */ |
||
| 5 | const isFunction = (value) => typeof value === 'function' |
||
|
0 ignored issues
–
show
Unused Code
introduced
by
Loading history...
|
|||
| 6 | |||
| 7 | /** |
||
| 8 | * @param {any} value |
||
| 9 | * @returns {boolean} true if value is a string |
||
| 10 | */ |
||
| 11 | const isString = (value) => typeof value === 'string' || value instanceof String |
||
|
0 ignored issues
–
show
|
|||
| 12 |