NearestToUnitOptionsThe nearest unit function options. Used to build function options. interface NearestToUnitOptions <Unit extends number> {nearestTo?: Unit;}§Type Parameters§Unit extends number[src]§Properties§nearestTo?: Unit[src]The nearest unit to round to. E.g. for minutes 15 to round to quarter hours.