Skip to content

Commit

Permalink
isValidHttpUrl: update jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed Sep 22, 2024
1 parent bdd65c2 commit 4ce0949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sbg-utility/src/utils/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export function slugify(str: string, ext?: string) {
}

/**
* check variable is valid http url string
* @param string
* check variable is valid http(s) url string
* @param string string url to validate
* @returns
*/
export function isValidHttpUrl(string: string | URL) {
Expand Down

0 comments on commit 4ce0949

Please sign in to comment.