Skip to main content

Parser <T>

Hierarchy

Index

Properties

errors

errors: undefined | ErrorObject<string, Record<string, any>, unknown>[]

is

is: (o: unknown) => o is T

Type declaration

    • (o: unknown): o is T
    • Parameters

      • o: unknown

      Returns o is T

parse

parse: (o: unknown) => { right: T } | { left: DefinedError[] }

Type declaration

    • (o: unknown): { right: T } | { left: DefinedError[] }
    • Parameters

      • o: unknown

      Returns { right: T } | { left: DefinedError[] }

schema

schema: AnySchema
Page Options