Home

constant: isRegExp


  {
    "comment": "/**\r\n * Checks if `value` is classified as a `RegExp` object.\r\n *\r\n * @since 0.1.0\r\n * @category Lang\r\n * @param {*} value The value to check.\r\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\r\n * @example\r\n *\r\n * isRegExp(/abc/)\r\n * // => true\r\n *\r\n * isRegExp('/abc/')\r\n * // => false\r\n */",
    "meta": {
        "range": [
            561,
            698
        ],
        "filename": "isRegExp.js",
        "lineno": 23,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\lodash\\lodash-repo",
        "code": {
            "id": "astnode100005189",
            "name": "isRegExp",
            "type": "ConditionalExpression",
            "value": ""
        }
    },
    "description": "Checks if `value` is classified as a `RegExp` object.",
    "since": "0.1.0",
    "tags": [
        {
            "originalTitle": "category",
            "title": "category",
            "text": "Lang",
            "value": "Lang"
        }
    ],
    "params": [
        {
            "type": {
                "names": [
                    "*"
                ]
            },
            "description": "The value to check.",
            "name": "value"
        }
    ],
    "returns": [
        {
            "type": {
                "names": [
                    "boolean"
                ]
            },
            "description": "Returns `true` if `value` is a regexp, else `false`."
        }
    ],
    "examples": [
        "isRegExp(/abc/)\r// => true\r\risRegExp('/abc/')\r// => false"
    ],
    "name": "isRegExp",
    "longname": "isRegExp",
    "kind": "constant",
    "scope": "global",
    "___id": "T000002R000493",
    "___s": true,
    "filepath": "isRegExp.js"
}