Skip to main content
Version: 4.1.0

binarySearchByX

Callable

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

  • Parameters

    • sortedArray: readonly Point2D[]
    • x: number

    Returns { index: number; point: Point2D }

    • index: number
    • point: Point2D