min
Determining the smallest of two numbers.
func uint min (
uint left,
uint right
)
uint left,
uint right
)
Parameters
left | The first compared number of the uint type. |
right | The second compared number of the uint type. |
Return value
The smallest of two numbers.
min
Determining the smallest of two int numbers.
func uint min (
int left,
int right
)
int left,
int right
)
Parameters
left | The first compared number of the int type. |
right | The second compared number of the int type. |
Return value
The smallest of two int numbers.
Related links | Source |