Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/EventTargetLike.ts>EventTargetLike.canBe

💧EventEmitter's typesafe replacement
Go to Latest
function EventTargetLike.canBe
import { EventTargetLike } from "https://deno.land/x/evt@v2.5.2/lib/types/EventTargetLike.ts";
const { canBe } = EventTargetLike;

Returns

boolean