@sapphire/utilities
Version:
Common JavaScript utilities for the Sapphire Community
11 lines (8 loc) • 309 B
text/typescript
import { Ctor } from './types.cjs';
/**
* Checks whether or not the value class extends the base class.
* @param value The constructor to be checked against.
* @param base The base constructor.
*/
declare function classExtends<T extends Ctor>(value: Ctor, base: T): value is T;
export { classExtends };