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