Skip to main content
Module

x/mixwithts/mod.ts>hasMixin

TypeScript compatible version of Justin Fagani's mixin library for ES6
Latest
variable hasMixin
import { hasMixin } from "https://deno.land/x/mixwithts@1.1.2/mod.ts";

Checks if the provided mixin has been applied to the given prototype object.

type

<T>(o: object, mixin: T) => boolean