UNPKG

path-value

Version:

Property path-to-value resolver, in TypeScript

11 lines (10 loc) 313 B
/** * Verifies that 'function'-type parameter represents a class. * * It determines an ES6 class with 100% accuracy, while an ES5 class is only * determined when its name starts with a capital letter. * * @param func * Value of type 'function' */ export declare function isClass(func: Function): boolean;