ixfx
    Preparing search index...

    Function applyBounds

    Calculates a legal position for a cell based on grid size and bounds wrapping logic.

    May return undefined if wrap is undefined (default) and cell is out of bounds.