UNPKG

firestore-snapshot-utils

Version:

[![github license](https://img.shields.io/github/license/ericvera/firestore-snapshot-utils.svg?style=flat-square)](https://github.com/ericvera/firestore-snapshot-utils/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/firestore-snapshot-ut

4 lines (3 loc) 160 B
type GetValueFunction<T> = (i: T) => number | string; export declare const ascCompare: <T>(getValue: GetValueFunction<T>) => (a: T, b: T) => number; export {};