Home

constant: subtract


  {
    "comment": "/**\r\n * Subtract two numbers.\r\n *\r\n * @since 4.0.0\r\n * @category Math\r\n * @param {number} minuend The first number in a subtraction.\r\n * @param {number} subtrahend The second number in a subtraction.\r\n * @returns {number} Returns the difference.\r\n * @example\r\n *\r\n * subtract(6, 4)\r\n * // => 2\r\n */",
    "meta": {
        "range": [
            378,
            458
        ],
        "filename": "subtract.js",
        "lineno": 16,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\lodash\\lodash-repo",
        "code": {
            "id": "astnode100008853",
            "name": "subtract",
            "type": "CallExpression",
            "value": ""
        }
    },
    "description": "Subtract two numbers.",
    "since": "4.0.0",
    "tags": [
        {
            "originalTitle": "category",
            "title": "category",
            "text": "Math",
            "value": "Math"
        }
    ],
    "params": [
        {
            "type": {
                "names": [
                    "number"
                ]
            },
            "description": "The first number in a subtraction.",
            "name": "minuend"
        },
        {
            "type": {
                "names": [
                    "number"
                ]
            },
            "description": "The second number in a subtraction.",
            "name": "subtrahend"
        }
    ],
    "returns": [
        {
            "type": {
                "names": [
                    "number"
                ]
            },
            "description": "Returns the difference."
        }
    ],
    "examples": [
        "subtract(6, 4)\r// => 2"
    ],
    "name": "subtract",
    "longname": "subtract",
    "kind": "constant",
    "scope": "global",
    "___id": "T000002R000805",
    "___s": true,
    "filepath": "subtract.js"
}