Skip to content

mod

Sign-correct modulo operation.

ts
import { mod } from '@vielzeug/toolkit';

mod(-1, 5); // 4