UNPKG

@sapphire/utilities

Version:
11 lines (8 loc) 309 B
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 };