Package: @effect/cli
Module: Primitive
Validates that the specified value, if any, matches the specified primitive type.
Signature
declare const validate: { (value: Option<string>, config: CliConfig): <A>(self: Primitive<A>) => Effect<A, string, FileSystem>; <A>(self: Primitive<A>, value: Option<string>, config: CliConfig): Effect<A, string, FileSystem>; }
Since v1.0.0