Skip to content

mod

Summary

Functional equivalent of a % b.

Tip

This is an operator function.

Examples

1
2
map(mod(4))([10,15,20,25]);
//=> [2,3,0,1]

Parameters

Name Type Description
a number
b number

Return

number

AltStyle によって変換されたページ (->オリジナル) /