rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
11 lines • 297 B
TypeScript
/**
* @public
* Gets the first inserted key in a `Map`.
*
* @returns The first key in `map`, otherwise `undefined` where size 0.
*
* @remarks
* See {@link mapFirstKey}.
*/
export declare function mapFirstKey<K, V>(map: Map<K, V>): K | undefined;
//# sourceMappingURL=map-first-key.d.ts.map