Skip to content
GitHub

StandardSchemaV1Result

type alias in meocord/interface Since 4.1.0

type StandardSchemaV1Result<Output> =
  | { readonly value: Output; readonly issues?: undefined }
  | { readonly issues: readonly StandardSchemaV1Issue[] }

The outcome of validation: the output value, or the issues found.

See also