import { assertTypeOf } from "https://deno.land/x/enzastdlib@v0.0.4/testing/mod.ts";
Make an assertion that actual
has the type of expected_type
.
If not then throw.
Examples
Example 1
Example 1
import { assertTypeOf } from 'https://deno.land/x/enzastdlib/testing/mod.ts';
assertTypeOf('Hello World!', 'string');