UNPKG

@thi.ng/associative

Version:

ES Map/Set-compatible implementations with customizable equality semantics & supporting operations

8 lines 231 B
import type { Maybe } from "@thi.ng/api"; /** * Returns the first value (if any) from given iterable (e.g. a Set). * * @param x */ export declare const first: <T>(x: Iterable<T>) => Maybe<T>; //# sourceMappingURL=first.d.ts.map