index.js
function hasTile(tiles, tile) {
    for (var i = 0; i < tiles.length; i++) {
        if (tilesEqual(tiles[i], tile)) return true;
    }
    return false;
}
function hasTile(tiles, tile) {
    for (var i = 0; i < tiles.length; i++) {
        if (tilesEqual(tiles[i], tile)) return true;
    }
    return false;
}
function hasTile ( tiles , tile ) { for ( var i = 0 ; i < tiles . length ; i ++ ) { if ( tilesEqual ( tiles [ i ] , tile ) ) return true ; } return false ; }
Check to see if an array of tiles contains a particular tile

@name hasTile
@param {Array<Array<number>>} tiles
@param {Array<number>} tile
@returns {boolean}
@example
var tiles = [
[0, 0, 5],
[0, 1, 5],
[1, 1, 5],
[1, 0, 5]
]
hasTile(tiles, [0, 0, 5])
//=boolean
Check to see if an array of tiles contains a particular tile