MCPcopy Create free account
hub / github.com/denoland/std / fn

Function fn

assert/not_instance_of_test.ts:6–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4Deno.test({
5 name: "assertNotInstanceOf()",
6 fn() {
7 assertNotInstanceOf("not a number", Number);
8 assertNotInstanceOf(42, String);
9 assertNotInstanceOf(new URL("http://example.com"), Boolean);
10 },
11});
12
13Deno.test({

Callers

nothing calls this directly

Calls 2

assertNotInstanceOfFunction · 0.90
assertThrowsFunction · 0.90

Tested by

no test coverage detected