• Looks for a run going in a certain direction. If there isn't a run for this it will look for the next run. If you only want the run if it is found

    Parameters

    • runs: Run<any>[]
    • value: number
    • findGreater: boolean = true

    Returns Run<any>

    See

    findRun.