MCPcopy Index your code
hub / github.com/freshframework/fresh / isVoid

Function isVoid

tools/check_docs_lib.ts:67–69  ·  view source on GitHub ↗
(returnType: TsTypeDef)

Source from the content-addressed store, hash-verified

65}
66
67function isVoid(returnType: TsTypeDef) {
68 return returnType.kind === "keyword" && returnType.keyword === "void";
69}
70
71function assertHasReturnTag(document: { jsDoc: JsDoc; location: Location }) {
72 const tag = document.jsDoc.tags?.find((tag) => tag.kind === "return");

Callers 1

isVoidOrPromiseVoidFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected