HOME


sh-3ll 1.0
DIR:/proc/self/cwd/bright.medisavehealthcarebd.com/node_modules/es5-ext/reg-exp/
Upload File :
Current File : //proc/self/cwd/bright.medisavehealthcarebd.com/node_modules/es5-ext/reg-exp/valid-reg-exp.js
"use strict";

var isRegExp = require("./is-reg-exp");

module.exports = function (value) {
	if (!isRegExp(value)) throw new TypeError(value + " is not a RegExp object");
	return value;
};