Skip to content

Commit

Permalink
Update Utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuniu-ms committed Dec 10, 2024
1 parent c511278 commit 366c0b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions shared/1ds-core-js/src/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,9 @@ export function getCookieValue(cookieMgr: ICookieMgr, name: string, decode: bool
* Create a new guid.
* @param style - The style of guid to generated, defaults to Digits
* Digits (Default) : 32 digits separated by hyphens: 00000000-0000-0000-0000-000000000000
* Braces - 32 digits separated by hyphens, enclosed in braces: {00000000-0000-0000-0000-000000000000}
* Braces - 32 digits separated by hyphens, enclosed in braces: \{00000000-0000-0000-0000-000000000000\}
* Parentheses - 32 digits separated by hyphens, enclosed in parentheses: (00000000-0000-0000-0000-000000000000)
* Numeric - 32 digits: 00000000000000000000000000000000
* @returns The formatted guid.
*/
export function createGuid(style: GuidStyle = GuidStyle.Digits): string {
let theGuid = newGuid();
Expand Down Expand Up @@ -423,9 +422,9 @@ export function openXhr(method: string, urlString: string, withCredentials?: boo
}

/**
* Check to see if the value is > 0
* Check to see if the value is \> 0
* @param value - The value to check
* @returns true if > 0 otherwise false
* @returns true if \> 0 otherwise false
*/
export function isGreaterThanZero(value: number) {
return value > 0;
Expand Down

0 comments on commit 366c0b6

Please sign in to comment.