Type Parameters

  • R

Constructors

Methods

Constructors

Methods

  • Type Parameters

    • I
    • O
    • A extends unknown[]

    Parameters

    • shape: ((...args: A) => Shape<I, O>)
    • fn: ((shape: Shape<I, O>, ...args: A) => R)
        • (shape, ...args): R
        • Parameters

          Returns R

    Returns this

  • Type Parameters

    • I
    • O

    Parameters

    Returns this

  • Parameters

    • fn: (<I, O>(shape: Shape<I, O>) => R)
        • <I, O>(shape): R
        • Type Parameters

          • I
          • O

          Parameters

          Returns R

    Returns this

  • visitor.generic(<T>() =>
    visitor.add($.array<T>, (shape, $el) => {
    ...
    })
    )

    Parameters

    • fn: ((visitor: this) => void)
        • (visitor): void
        • Parameters

          • visitor: this

          Returns void

    Returns this

  • Type Parameters

    • I
    • O

    Parameters

    Returns R