Class FormBody<T>

Type Parameters

  • T

Hierarchy

  • Judgement<T>
    • FormBody

Constructors

Properties

Methods

Constructors

Properties

data: undefined | T

Methods

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends string

    Parameters

    • prop: P
    • matcher: M
    • then: ((res) => void)
        • (res): void
        • Parameters

          • res: PathValue<T, P>

          Returns void

    Returns void

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends string

    Parameters

    • prop: P
    • matcher: M
    • Optional on_error: OnJudgementError

    Returns Exclude<PathValue<T, P>, undefined>

  • Returns T

  • Type Parameters

    • P extends string

    Parameters

    • path: P

    Returns undefined | PathValue<T, P>

  • Type Parameters

    • P extends string

    Parameters

    • path: P
    • def: PathValue<T, P>

    Returns Exclude<PathValue<T, P>, undefined>

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends string

    Parameters

    • prop: P
    • matcher: M

    Returns undefined | Exclude<PathValue<T, P>, undefined>

  • Type Parameters

    • M extends RegExp | Matcher<any>

    • P extends string

    Parameters

    • prop: P
    • matcher: M
    • def: MatcherInferType<M>

    Returns Exclude<PathValue<T, P>, undefined>

  • Parameters

    • prop: string
    • desc: MismatchDescription
    • Optional on_error: OnJudgementError

    Returns never

Generated using TypeDoc