Method in arith · Checked coil-stdlib

Checked::checked_sub

fn checked_sub(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