ElectronSystemPreferences.removeUserDefault method
ElectronSystemPreferences › removeUserDefault
Unofficial
Removes thekey in NSUserDefaults. This can be used to restore the default or global value of a key previously set with setUserDefault. Signature:
removeUserDefault(key: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The NSUserDefaults key to remove.Platform: darwin. |
Returns: void