mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-29 23:07:57 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
import type { Class } from '../types.js';
|
||||
/**
|
||||
* @name isChildClass
|
||||
* @summary Tests if the child extends the parent Class
|
||||
* @description
|
||||
* Checks to see if the child Class extends the parent Class
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import { isChildClass } from '@pezkuwi/util';
|
||||
*
|
||||
* console.log('isChildClass', isChildClass(BN, BN); // => true
|
||||
* console.log('isChildClass', isChildClass(BN, Uint8Array); // => false
|
||||
* ```
|
||||
*/
|
||||
export declare function isChildClass<P extends Class>(Parent: P, Child?: unknown): Child is P;
|
||||
Reference in New Issue
Block a user