Skip to content

modulo

Module Export

number |> number => number

Returns the remainder of the division of the left value by the right value.

Examples

import 'math'
from 10 modulo 3
// Returns:
1