If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
-
Updated
Jun 30, 2025 - JavaScript
8000
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
Add a description, image, and links to the try-then topic page so that developers can more easily learn about it.
To associate your repository with the try-then topic, visit your repo's landing page and select "manage topics."