Method in arith · Checked coil-stdlib

Checked::checked_add

fn checked_add(S a, S b) -> Option<S>
Import
use arith::{Checked};
Source: src/arith.hy

a + b, or None when it does not fit.

Parameters#

NameType
aS
bS

Returns#

Option<S>

See also#

↑ ↓ navigate ↵ open