num.wrap

MJS / AC Piece API / number / done
wrap(n, to)

Wrap a number into the range 0..to (exclusive upper bound).

Parameters

Parameters are not fully documented yet.

Returns

number

Examples

No explicit examples yet.

Open playground to experiment live.

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview