@total-order/date
v1.0.0
Published
Comparison of Date objects for JavaScript
Downloads
38
Readme
:date: @total-order/date
Comparison of Date objects for JavaScript. See docs.
import {increasing} from '@total-order/date';
increasing(new Date(0), new Date(1)) < 0; // true
import {PairingHeap as Heap} from '@heap-data-structure/pairing-heap';
const heap = new Heap(increasing);
heap.push(new Date());