function isOfType(type) {
  return function(value) {
    return typeof value === type;
  };
}
var isFunction = isOfType("function");
var isNull = function(value) {
  return value === null;
};
var isRegex = function(value) {
  return Object.prototype.toString.call(value).slice(8, -1) === "RegExp";
};
var isObject = function(value) {
  return !isUndefined(value) && !isNull(value) && (isFunction(value) || typeof value === "object");
};
var isUndefined = isOfType("undefined");
export {
  isFunction,
  isNull,
  isObject,
  isRegex,
  isUndefined
};
//# sourceMappingURL=helpers.js.map
