Skip to content

Commit 320f5ee

Browse files
committed
WIP
1 parent e7d16fc commit 320f5ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

as/optional.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function asOptional<P extends Predicate<unknown>>(
6161
/**
6262
* Unannotate the annotated predicate function with {@linkcode asOptional}.
6363
*
64-
* Use this function to unannotate a predicate function of `predObj` in {@linkcode isObjectOf}.
64+
* Use this function to unannotate a predicate function of `predObj` in {@linkcode [jsr:@core/unknownutil/is/object-of].isObjectOf}.
6565
*
6666
* Note that the annotated predicate function will return `true` if the type of `x` is `T`, indicating that
6767
* this function is not just for annotation but it also changes the behavior of the predicate function.

as/readonly.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
/**
1111
* Annotate the given predicate function as readonly.
1212
*
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 {@linkcode https://jsr.io/@core/unknownutil/doc/is/object-of/~/isObjectOf|isObjectOf}.
1414
*
1515
* Use {@linkcode asUnreadonly} to remove the annotation.
1616
* Use {@linkcode hasReadonly} to check if a predicate function has annotated with this function.
@@ -45,7 +45,7 @@ export function asReadonly<P extends Predicate<unknown>>(
4545
/**
4646
* Unannotate the annotated predicate function with {@linkcode asReadonly}.
4747
*
48-
* Use this function to unannotate a predicate function of `predObj` in {@linkcode isObjectOf}.
48+
* Use this function to unannotate a predicate function of `predObj` in {@linkcode [jsr:@core/unknownutil/is/object-of].isObjectOf}.
4949
*
5050
* To enhance performance, users are advised to cache the return value of this function and mitigate the creation cost.
5151
*

0 commit comments

Comments
 (0)