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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -590,7 +590,7 @@ isFunction(() => 5); // true
590
590
591
591
![update][update]
592
592
593
-
`4.0.0`: The function uses [isClass](#isclass) in check to check the `className` instead of [`isFunction`](#isfunction).
593
+
`4.0.0`: The function uses [isClass](#isclass) in check to check the `className` instead of [`isFunction()`](#isfunction).
594
594
595
595
Use `isInstance()` or `is.instance()` to check if **any** value is an `object` of a generic `Obj` type equal to an `instance` of [`Constructor`](#constructor) type.
596
596
@@ -1696,7 +1696,7 @@ guardClass<Class>(FUNCTION); // type error
1696
1696
1697
1697
![update][update]
1698
1698
1699
-
`4.0.0`: The function denies [classes][classes] in check cause of updated [`isFunction`](#isfunction).
1699
+
`4.0.0`: The function denies [`classes`][classes] in check cause of updated [`isFunction()`](#isfunction).
1700
1700
1701
1701
Use `guardFunction()` or `guard.is.function()` to guard the `value` to be a [`Func`](#func) type.
Copy file name to clipboardExpand all lines: packages/type/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -590,7 +590,7 @@ isFunction(() => 5); // true
590
590
591
591
![update][update]
592
592
593
-
`4.0.0`: The function uses [isClass](#isclass) in check to check the `className` instead of [`isFunction`](#isfunction).
593
+
`4.0.0`: The function uses [isClass](#isclass) in check to check the `className` instead of [`isFunction()`](#isfunction).
594
594
595
595
Use `isInstance()` or `is.instance()` to check if **any** value is an `object` of a generic `Obj` type equal to an `instance` of [`Constructor`](#constructor) type.
596
596
@@ -1696,7 +1696,7 @@ guardClass<Class>(FUNCTION); // type error
1696
1696
1697
1697
![update][update]
1698
1698
1699
-
`4.0.0`: The function denies [classes][classes] in check cause of updated [`isFunction`](#isfunction).
1699
+
`4.0.0`: The function denies [`classes`][classes] in check cause of updated [`isFunction()`](#isfunction).
1700
1700
1701
1701
Use `guardFunction()` or `guard.is.function()` to guard the `value` to be a [`Func`](#func) type.
0 commit comments