UtilitiesFunctionsbinarySearchByXVersion: NextbinarySearchByX CallablebinarySearchByX(sortedArray: readonly Point2D[], x: number): { index: number; point: Point2D } | nullParameterssortedArray: readonly Point2D[]x: numberReturns { index: number; point: Point2D } | null