Interface FormCata<A, R>

Type Parameters

  • A

  • R

Hierarchy

  • FormCata

Properties

Apply: (<B>(form1, form2) => R)

Type declaration

    • <B>(form1, form2): R
    • Type Parameters

      • B

      Parameters

      Returns R

Field: ((field) => R)

Type declaration

    • (field): R
    • Parameters

      Returns R

Group: ((name, form) => R)

Type declaration

    • (name, form): R
    • Parameters

      • name: string
      • form: Form<A>

      Returns R

List: (<B>(form, forms, fn) => R)

Type declaration

    • <B>(form, forms, fn): R
    • Type Parameters

      • B

      Parameters

      • form: Form<B>
      • forms: Form<B>[]
      • fn: ((bs) => A)
          • (bs): A
          • Parameters

            • bs: B[]

            Returns A

      Returns R

Map: (<B>(fn, form) => R)

Type declaration

    • <B>(fn, form): R
    • Type Parameters

      • B

      Parameters

      • fn: ((b) => A)
          • (b): A
          • Parameters

            • b: B

            Returns A

      • form: Form<B>

      Returns R

Select: (<B>(form1, form2) => R)

Type declaration

    • <B>(form1, form2): R
    • Type Parameters

      • B

      Parameters

      Returns R

Validated: ((validate, form) => R)

Type declaration

Generated using TypeDoc