/** * Determines if a constructor(class) is inherited from a given the name of super constructor(class). * @param {Function} ctor - The constructor function to check. * @param {string} superStr - The super constructor's name to check for inheritance. * @param {boolean} [throwError=false] - If true, an error will be thrown if a circular inheritance is found. defaults to false. * @returns {boolean|Function} - If the constructor is inherited from the super constructor, returns the constructor. * Otherwise, returns false. */ export function isInheritedFromStr(ctor: Function, superStr: string, throwError?: boolean): boolean | Function; export default isInheritedFromStr;