repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git]
/
packages
/
utils
/
mod.ts
blob
c2bd4677488fae6b48ad4e3f86021e7f3660c732
1
// Modulo with negative number support
2
export default (n: number, m: number) => ((n % m) + m) % m;