constant: findLast
{
"comment": "/**\r\n * This method is like `find` except that it iterates over elements of\r\n * `collection` from right to left.\r\n *\r\n * @since 2.0.0\r\n * @category Collection\r\n * @param {Array|Object} collection The collection to inspect.\r\n * @param {Function} predicate The function invoked per iteration.\r\n * @param {number} [fromIndex=collection.length-1] The index to search from.\r\n * @returns {*} Returns the matched element, else `undefined`.\r\n * @see find, findIndex, findKey, findLastIndex, findLastKey\r\n * @example\r\n *\r\n * findLast([1, 2, 3, 4], n => n % 2 == 1)\r\n * // => 3\r\n */",
"meta": {
"range": [
682,
718
],
"filename": "findLast.js",
"lineno": 20,
"path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\lodash\\lodash-repo",
"code": {
"id": "astnode100002437",
"name": "findLast",
"type": "CallExpression",
"value": ""
}
},
"description": "This method is like `find` except that it iterates over elements of\r`collection` from right to left.",
"since": "2.0.0",
"tags": [
{
"originalTitle": "category",
"title": "category",
"text": "Collection",
"value": "Collection"
}
],
"params": [
{
"type": {
"names": [
"Array",
"Object"
]
},
"description": "The collection to inspect.",
"name": "collection"
},
{
"type": {
"names": [
"function"
]
},
"description": "The function invoked per iteration.",
"name": "predicate"
},
{
"type": {
"names": [
"number"
]
},
"optional": true,
"defaultvalue": "collection.length-1",
"description": "The index to search from.",
"name": "fromIndex"
}
],
"returns": [
{
"type": {
"names": [
"*"
]
},
"description": "Returns the matched element, else `undefined`."
}
],
"see": [
"find, findIndex, findKey, findLastIndex, findLastKey"
],
"examples": [
"findLast([1, 2, 3, 4], n => n % 2 == 1)\r// => 3"
],
"name": "findLast",
"longname": "findLast",
"kind": "constant",
"scope": "global",
"___id": "T000002R000267",
"___s": true,
"filepath": "findLast.js"
}