mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-03 06:36:44 +00:00
3f34936acd
* Add more files to strict compile. Update CONTRIBUTING.md to recommend FluentUI use * Remove eslint-disable and use non-null assertion
10 lines
213 B
TypeScript
10 lines
213 B
TypeScript
export class StringUtility {
|
|
public static toNumber(num: string | null): number {
|
|
return Number(num);
|
|
}
|
|
|
|
public static toBoolean(valueStr: string | null): boolean {
|
|
return valueStr === "true";
|
|
}
|
|
}
|