mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Removed localStorage.hasKey binding (#22766)
Doesn't exists anymore.
Use `window.localStorage.getItem("key").isNil` instead

This commit is contained in:
@@ -1682,7 +1682,6 @@ proc `$`*(s: Selection): string = $(s.toString())
|
||||
# Storage "methods"
|
||||
proc getItem*(s: Storage, key: cstring): cstring
|
||||
proc setItem*(s: Storage, key, value: cstring)
|
||||
proc hasItem*(s: Storage, key: cstring): bool
|
||||
proc clear*(s: Storage)
|
||||
proc removeItem*(s: Storage, key: cstring)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user