pakmanaged.js
function isA(object, value) {
      if (_isFunction2['default'](value)) return object instanceof value;
    
      if (value === 'array') return Array.isArray(object);
    
      return typeof object === value;
    }
function isA(object, value) {
      if (_isFunction2['default'](value)) return object instanceof value;
    
      if (value === 'array') return Array.isArray(object);
    
      return typeof object === value;
    }
Returns true if the given object is an instanceof value
or its typeof is the given value.