MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isValidInput

Function isValidInput

src/components/SkillImprovementSurvey.tsx:57–59  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

55// Only 1 (apply) and 0 (dismiss) are valid for this survey
56const VALID_INPUTS = ['0', '1'] as const;
57function isValidInput(input: string): boolean {
58 return (VALID_INPUTS as readonly string[]).includes(input);
59}
60function SkillImprovementSurveyView(t0) {
61 const $ = _c(17);
62 const {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected