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: as/optional.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import {
10
10
/**
11
11
* Annotate the given predicate function as optional.
12
12
*
13
-
* Use this function to annotate a predicate function of `predObj` in {@linkcode isObjectOf}.
13
+
* Use this function to annotate a predicate function of `predObj` in {@linkcodehttps://jsr.io/@core/unknownutil/doc/is/object-of/~/isObjectOf|isObjectOf}.
14
14
*
15
15
* Note that the annotated predicate function will return `true` if the type of `x` is `T` or `undefined`, indicating that
16
16
* this function is not just for annotation but it also changes the behavior of the predicate function.
0 commit comments