export const isString = (value: unknown) => typeof value === 'string'; export const min = (a: number, b: number) => (a < b ? a : b); export const isOverflow = (count: number, overflowCount: number) => count > overflowCount;