Takaro - v0.4.11
    Preparing search index...

    Function attempt

    • Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it’s invoked.

      Type Parameters

      • TResult

      Parameters

      • func: (...args: any[]) => TResult

        The function to attempt.

      • ...args: any[]

      Returns Error | TResult

      Returns the func result or error object.