codec-utils v0.3.4toIntOn this pagetoInt export function toInt(arg: IntLike): number Throws an error if the arg isn't a whole number Arguments 1. arg arg: IntLike Returns number a whole number