Link Search Menu Expand Document

length overview

Added in v0.0.2


Table of contents


Validators

validateLength

validate length

Signature

export declare const validateLength: <E>(len: number, e: E) => <A>(val: A) => Either<E, unknown extends A ? any : A>

Added in v0.0.2