lib/index.esm.js
function isPrimitive(val) {
  return isVoid(val) || isBoolean(val) || isString(val) || isNumber(val);
}
function isPrimitive(val) {
  return isVoid(val) || isBoolean(val) || isString(val) || isNumber(val);
}
is Primitive type or not, whick means it will return true when data is number/string/boolean/undefined/null