Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/actor/main/index.ts>Slice.combine

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Slice.combine
import { Slice } from "https://deno.land/x/rimbu@1.1.0/actor/main/index.ts";
const { combine } = Slice;

Returns an object containing the combined reducer and action creators from the given input object.

Type Parameters

SDef extends Record<string, Slice<any, any>>

Parameters

slices: SDef
  • an object containing keyed slices to be combined