SetFromArray overview

Added in v1.3.0


Table of contents


Combinators

SetFromArray

An array input that’s converted to a ReadonlySet.

Signature

export declare const SetFromArray: <A>(ordA: Ord<A>) => <O>(sA: Schema<O, A>) => Schema<readonly O[], ReadonlySet<A>>

Added in v1.3.0