We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 448f2d6 commit 2682703Copy full SHA for 2682703
1 file changed
src/lib/es6.d.ts
@@ -174,6 +174,15 @@ interface Function {
174
* Returns the name of the function. Function names are read-only and can not be changed.
175
*/
176
name: string;
177
+
178
+ /**
179
+ * Determines whether the given value inherits from this function if this function was used
180
+ * as a constructor function.
181
+ *
182
+ * A constructor function can control which objects are recognized as its instances by
183
+ * 'instanceof' by overriding this method.
184
+ */
185
+ [Symbol.hasInstance](value: any): boolean;
186
}
187
188
interface NumberConstructor {
0 commit comments