A fast and simple in-place implementation of the luhn check algorithm in Zig. Implementations in other languages can be found at github.com/luhnmod10.
const luhnmod10 = @import("path/to/luhnmod10/src/lib.zig");
const valid = luhnmod10.valid("4242424242424242");