πŸ“¦
unwrapit
CtrlK
  • πŸ‘‹Welcome to unwrapit
  • Intro
    • πŸ’‘Why use it?
    • ✨Getting Started
  • APIs
    • πŸ”¨wrap
    • πŸ”¨unwrap
    • πŸ”¨unwrapOr
    • πŸ”¨unwrapOrElse
    • πŸ”¨expect
    • πŸ”¨mapErr
    • πŸ”¨defineWrapConfig
    • πŸ”¨ok
    • πŸ”¨err
  • Type
    • πŸ”§Result
    • πŸ”§WrapConfig
    • πŸ”§WrapOption
    • πŸ”§Panic
  • Recipe
    • 🎨Export Wrapped Functions
    • 🎨Return Result Without `wrap` it
Powered by GitBook
On this page
  1. Type

πŸ”§WrapConfig

export type TWrapConfig = {
  panic: boolean
  panicFn: Panic
}

WrapConfig type defines the config type of unwrapit.

PreviousResultNextWrapOption

Last updated 1 year ago