'isPrimitive' function
Checks wether an input value is a JavaScript primitive type: string, number, boolean, or null.
// value - value to check // { boolean }
'isPrimitive' function
Checks wether an input value is a JavaScript primitive type: string, number, boolean, or null.
// value - value to check // { boolean }