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

Function fn

random/sample_test.ts:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12Deno.test({
13 name: "sample() handles no mutation",
14 fn() {
15 const array = ["a", "abc", "ba"];
16 sample(array);
17
18 assertEquals(array, ["a", "abc", "ba"]);
19 },
20});
21
22Deno.test({

Callers

nothing calls this directly

Calls 3

sampleFunction · 0.90
assertEqualsFunction · 0.90
assertArrayIncludesFunction · 0.90

Tested by

no test coverage detected