(key: string, toSet: any)
| 88 | } |
| 89 | |
| 90 | export function storageSetIfIsNotExist(key: string, toSet: any): void { |
| 91 | if (storageGetItem(key, null, false) === null) storageSetItem(key, toSet); |
| 92 | } |
| 93 | |
| 94 | export function copyToClipboard(text: string): void { |
| 95 | if (!text || text.length == 0) return; |
no test coverage detected