UNPKG

effect

Version:

The missing standard library for TypeScript, for writing production-grade software.

21 lines 458 B
/** * @since 2.0.0 */ /** * @category symbol * @since 2.0.0 */ export declare const nonEmpty: unique symbol; /** * @category model * @since 2.0.0 */ export interface NonEmptyIterable<out A> extends Iterable<A> { readonly [nonEmpty]: A; } /** * @category getters * @since 2.0.0 */ export declare const unprepend: <A>(self: NonEmptyIterable<A>) => [firstElement: A, remainingElements: Iterator<A>]; //# sourceMappingURL=NonEmptyIterable.d.ts.map