MCPcopy Create free account
hub / github.com/PalisadoesFoundation/talawa-api / isBooleanString

Function isBooleanString

scripts/setup/setup.ts:205–207  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

203// Signal handlers will be registered in setup() to avoid test pollution
204
205export function isBooleanString(input: unknown): input is "true" | "false" {
206 return typeof input === "string" && (input === "true" || input === "false");
207}
208export function validateRequiredFields(answers: SetupAnswers): void {
209 const requiredFields: SetupKey[] = [
210 "CI",

Callers 2

setup.test.tsFile · 0.85
validateBooleanFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected