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 • 307 B
TypeScript
/**
* @public
* Gets the first inserted value in a `Map`.
*
* @returns The first value in `map`, otherwise `undefined` where size 0.
*
* @remarks
* See {@link mapFirstValue}.
*/
export declare function mapFirstValue<K, V>(map: Map<K, V>): V | undefined;
//# sourceMappingURL=map-first-value.d.ts.map