Skip to content

Clamp an optional recovery count into the allowlisted 0 | 1 | 2 range.

clampHandoffRecoveries(value?): 0 | 1 | 2

Defined in: packages/bitbadgesjs-sdk/src/core/handoff-telemetry.ts:72

Clamp an optional recovery count into the allowlisted 0 | 1 | 2 range.

Parameters

value?

number

Returns

0 | 1 | 2

Edit this page on GitHub