dist/Position.js
function containsXY(positions, position) {
    return positions ? positions.some(function (p) {
        return hasSameXY(p, position);
    }) : false;
}
function containsXY(positions, position) {
    return positions ? positions.some(function (p) {
        return hasSameXY(p, position);
    }) : false;
}
function containsXY ( positions , position ) { return positions ? positions . some ( function ( p ) { return hasSameXY ( p , position ) ; } ) : false ; }
Checks if an array of positions contains a position.
Checks if an array of positions contains a position .