import { isClass } from "https://deno.land/x/ayonli_jsext@v0.9.72/class.ts";
Checks if a value is a class/constructor.
Examples
Example 1
Example 1
import { isClass } from "@ayonli/jsext/class";
console.assert(isClass(class Foo { }));
console.assert(!isClass(function foo() { }));
Returns
value is Constructor<any>