The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
import { logForDebugging } from '../utils/debug.js'
export function ifNotInteger(value: number | undefined, name: string): void {
if (value === undefined) {
return
}
if (Number.isInteger(value)) {
return
}
logForDebugging(`${name} should be an integer, got ${value}`, {
level: 'warn'
})
}