mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Update GetFirst.js
Improve type accuracy for GetFirst
This commit is contained in:
parent
47d393ac29
commit
c048c1bb54
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ var SafeRange = require('./SafeRange');
|
|||
* @param {number} [startIndex=0] - An optional start index to search from.
|
||||
* @param {number} [endIndex=array.length] - An optional end index to search up to (but not included)
|
||||
*
|
||||
* @return {object} The first matching element from the array, or `null` if no element could be found in the range given.
|
||||
* @return {?object} The first matching element from the array, or `null` if no element could be found in the range given.
|
||||
*/
|
||||
var GetFirst = function (array, property, value, startIndex, endIndex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue