Function |sub

std/ops/num::|sub


Usage

|sub<N>(a, b)

Generics

◻ N: Sub

Parameters

↳ a: N
↳ b: N

Return

↴ N


Sustract b from a

This function is infaillible but may overflow if a - b is out of bounds for the data type.