docs: function isPrimitive (val) {
    if (val === null || val === undefined || val === Infinity || isLiterallyNaN(val)) {
      return true
    }
    return primitives.some(function (Class) {
      return val === Class || directInstanceOf(val, Class)
    })
  }