Skip to content
On this page

date-search - v1.1.1 / Exports / DateSearchModes

Enumeration: DateSearchModes

Modify return value when search is complete.

  • EXACT: null if not found
  • CLOSEST_FLOOR: closest value in array rounding down or first item
  • CLOSEST_CEIL: closest value in array rounding up or last item

Table of contents

Enumeration Members

Enumeration Members

CLOSEST_CEIL

CLOSEST_CEIL = 2

Defined in

dateSearch.ts:135


CLOSEST_FLOOR

CLOSEST_FLOOR = 1

Defined in

dateSearch.ts:134


EXACT

EXACT = 0

Defined in

dateSearch.ts:133