function isConstructor(arg) {
  try {
    Reflect.construct(Object, [], arg);
  } catch (e) {
    return false;
  }

  return true;
}
Test if the provided argument is a constructor or not

@param  {*} arg
@returns {Boolean}