Skip to main content
Performs addition that returns None instead of wrapping around on overflow.

Signature

Examples

Trait functions

checked_add

Adds two numbers, checking for overflow. If overflow happens, None is returned.

Signature