INNER CODE UNIT · TypeScript
devAssert
graphql-community/koa-graphql · src/index.ts:457
function devAssert(condition: unknown, message: string): void {
const booleanCondition = Boolean(condition);
if (!booleanCondition) {
throw new TypeError(message);
}
}