Documentation
  • Preparing search index...
  • The search index is not available
Mobx Zod Form
  • Mobx Zod Form
  • @monoid-dev/mobx-zod-form
  • unwrapDecodeResult

Function unwrapDecodeResult

  • unwrapDecodeResult<RawInput, Decoded>(result): Decoded
  • An easy way to get your decoded data if you believe it is success: true

    Type Parameters

    • RawInput
    • Decoded

    Parameters

    • result: SafeDecodeResult<RawInput, Decoded>

    Returns Decoded

    The data if success, throws if MobxZodDecodeError not.

    • Defined in packages/mobx-zod-form/src/FormMeta.ts:46

Settings

Member Visibility

Theme

Mobx Zod Form
  • Loading...

Generated using TypeDoc