{"record":{"id":"0d7c5934eab3a18d","repo":"emberjs/ember.js","slug":"not-expects-exactly-one-argument-but-received","errorCode":null,"errorMessage":"`not` expects exactly one argument, but received ${args.length}.","messagePattern":"`not` expects exactly one argument, but received (.+?)\\.","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/@glimmer/runtime/lib/helpers/not.ts","lineNumber":6,"sourceCode":"import { DEBUG } from '@glimmer/env';\nimport { toBool } from '@glimmer/global-context';\n\nexport const not = (...args: unknown[]) => {\n  if (DEBUG && args.length !== 1) {\n    throw new Error(`\\`not\\` expects exactly one argument, but received ${args.length}.`);\n  }\n\n  return !toBool(args[0]);\n};\n","sourceCodeStart":1,"sourceCodeEnd":11,"githubUrl":"https://github.com/emberjs/ember.js/blob/26f97246a8bf2e28edf26ac3093da2e86c04ffc5/packages/@glimmer/runtime/lib/helpers/not.ts#L1-L11","documentation":"Error \"`not` expects exactly one argument, but received ${args.length}.\" thrown in emberjs/ember.js.","triggerScenarios":"Thrown at packages/@glimmer/runtime/lib/helpers/not.ts:6 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"26f97246a8bf2e28edf26ac3093da2e86c04ffc5","analyzedAt":"2026-09-01T05:01:28.182Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}