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