Skip to content

Commit

Permalink
Clarify method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
twschiller committed Jun 16, 2024
1 parent 9c3b2cf commit 9a882da
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ function isTextOrNull(value: string | null): boolean {
}

/**
* Convert a variable to a normalized variable path, removing optional chaining.
* Convert a variable to a normalized variable path, removing optional chaining. Result is suitable for filtering
* by path prefix.
*/
function toVarPath(value: string): string[] {
return toPath(value.replaceAll("?.", "."));
Expand Down

0 comments on commit 9a882da

Please sign in to comment.