Skip to content

Commit 819f0bf

Browse files
committed
jsdoc: Minor clarifications to priorityValue() docs
1 parent 9f03ce7 commit 819f0bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/PriorityTools.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ export class PriorityTools {
4141
}
4242

4343
/**
44-
* Get the {@link Priority} value from a string. The input string will be lower-cased.
44+
* Get the {@link Priority} value from a string. The algorithm is case-insensitive.
4545
*
4646
* In case the value was not recognised, {@link Priority.None} will be returned.
4747
*
48-
* @param priority
48+
* @param priority - a string containing a name of one the supported {@link Priority} values.
49+
* Capitalisation is ignored.
4950
* @see priorityNameUsingNormal
5051
*/
5152
public static priorityValue(priority: string): Priority {

0 commit comments

Comments
 (0)