Options
All
  • Public
  • Public/Protected
  • All
Menu

Module fallback/toTry

Index

References

Functions Fallback

References

Renames and re-exports toTry

Fallback Functions

  • create try functions wrapper

    the wrapper will try runners one by one, return the successful value, or the last error

    since

    5.18.0

    Type parameters

    • R

    Parameters

    Returns (...args: any[]) => R

      • (...args: any[]): R
      • create try functions wrapper

        the wrapper will try runners one by one, return the successful value, or the last error

        since

        5.18.0

        category

        Fallback

        Parameters

        • Rest ...args: any[]

        Returns R