readonlySetFromArray overview
Added in v0.5.7
Table of contents
ReadonlySetFromArrayC (interface)
Signature
export interface ReadonlySetFromArrayC<C extends t.Mixed>
extends t.Type<ReadonlySet<t.TypeOf<C>>, ReadonlyArray<t.OutputOf<C>>, unknown> {}
Added in v0.5.7
readonlySetFromArray
Signature
export function readonlySetFromArray<C extends t.Mixed>(
codec: C,
O: Ord<t.TypeOf<C>>,
name: string = `ReadonlySet<${codec.name}>`
): ReadonlySetFromArrayC<C> { ... }
Added in v0.5.7