UNPKG

@roots/bud-extensions

Version:

bud.js core module

10 lines (9 loc) 290 B
/** * isConstructor * * This function checks if the given subject is a constructor. * * @param subject Any JavaScript entity * @returns true if subject is a constructor, false otherwise */ export declare const isConstructor: (subject: any) => subject is new (...args: any[]) => any;