Skip to main content
Version: Next

binarySearchByX

Callable

  • binarySearchByX(sortedArray: readonly Point2D[], x: number): { index: number; point: Point2D } | null

  • Parameters

    • sortedArray: readonly Point2D[]
    • x: number

    Returns { index: number; point: Point2D } | null