You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -700,6 +700,8 @@ isFunction(() => 5); // true
700
700
701
701
### isInstance
702
702
703
+
![update][update]
704
+
703
705
`4.1.0`: Type variable `Class` default value is set to [`Function`][function].
704
706
705
707
Use `isInstance()` or `is.instance()` to check if **any** value is an `object` of a generic `Obj` type equal to an `instance` of [`Constructor<Class>`](#constructor) type.
Copy file name to clipboardExpand all lines: packages/type/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -700,6 +700,8 @@ isFunction(() => 5); // true
700
700
701
701
### isInstance
702
702
703
+
![update][update]
704
+
703
705
`4.1.0`: Type variable `Class` default value is set to [`Function`][function].
704
706
705
707
Use `isInstance()` or `is.instance()` to check if **any** value is an `object` of a generic `Obj` type equal to an `instance` of [`Constructor<Class>`](#constructor) type.
0 commit comments