`Number.isInteger` with better typing.
isInt(0); // => trueisInt(0.1); // => false
npx atmx add helper is-int
Copy and paste the following method into @/utils/helpers/undefined.ts:
@/utils/helpers/undefined.ts
/*** `Number.isInteger` with better typing.** @example* isInt(0) // => true* isInt(0.1) // => false*/export function isInt(value: unknown): value is number {return Number.isInteger(value);}