function util.isChildClassimport { util } from "https://dotland.deno.dev/x/polkadot@0.2.45/mod.ts"; const { isChildClass } = util; isChildClass<P extends Class>(Parent: P, Child?: unknown): Child is PExamples import { isChildClass } from 'https://deno.land/x/polkadot@0.2.45/util/mod.ts'; console.log('isChildClass', isChildClass(BN, BN); // => true console.log('isChildClass', isChildClass(BN, Uint8Array); // => false Type ParametersP extends ClassParametersParent: PoptionalChild: unknownReturnsChild is P