import { isChildClass } from "https://deno.land/x/polkadot@0.2.19/util/is/childClass.ts";
Examples
import { isChildClass } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
console.log('isChildClass', isChildClass(BN, BN); // => true
console.log('isChildClass', isChildClass(BN, Uint8Array); // => false
Type Parameters
P extends Constructor
Parameters
Parent: P
optional
Child: Constructor | null | unknown