Method in arith · Checked coil-stdlib

Checked::checked_neg

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

-a, or None when it does not fit.

Parameters#

NameType
aS

Returns#

Option<S>

See also#

↑ ↓ navigate ↵ open