Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.208.0/assert/assert_instance_of.ts";

Functions

Make an assertion that obj is an instance of type. If not then throw.