UNPKG

@wesjet/function.js

Version:
17 lines (16 loc) 606 B
/** * Copyright (c) Wesbitty, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import { Chunk } from '@effect-ts/core'; import { These, Tp } from './index.js'; export * from '@effect-ts/core/Collections/Immutable/Chunk'; /** * Separates a Chunk of These into success values on one side and error/warning values on the other side * Values are preserved in case of a warning. */ export declare const partitionThese: <E, A>(chunk: Chunk.Chunk<These.These<E, A>>) => Tp.Tuple<[Chunk.Chunk<E>, Chunk.Chunk<A>]>;