MCPcopy Create free account
hub / github.com/firebase/firebase-tools / speak

Function speak

src/functional.spec.ts:122–130  ·  view source on GitHub ↗
(animal: Animal)

Source from the content-addressed store, hash-verified

120
121 // eslint-disable-next-line
122 function speak(animal: Animal): void {
123 if (animal.type === "bird") {
124 console.log("chirp");
125 return;
126 }
127 // This line must cause the containing function to fail
128 // compilation if uncommented
129 // f.assertExhaustive(animal);
130 }
131 });
132
133 describe("partition", () => {

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…