catchSilently
catchSilently<
T>(work?):T|undefined
Defined in: packages/core/src/function/settle.ts:30
Runs work, discarding any error it throws. See catchSilentlyAsync.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”(() => T) | null
Action to run. Omitted (or null) is a no-op.
Returns
Section titled “Returns”T | undefined
work’s result, or undefined if it threw.