Storage
t
RESCRIPT
type t = Dom_storage2.t
getItem
RESCRIPT
let getItem: (t, string) => option<string>
getItem
RESCRIPT
let getItem: (string, t) => option<string>
setItem
RESCRIPT
let setItem: (t, string, string) => unit
setItem
RESCRIPT
let setItem: (string, string, t) => unit
removeItem
RESCRIPT
let removeItem: (t, string) => unit
removeItem
RESCRIPT
let removeItem: (string, t) => unit
clear
RESCRIPT
let clear: t => unit
key
RESCRIPT
let key: (t, int) => option<string>
key
RESCRIPT
let key: (int, t) => option<string>
length
RESCRIPT
let length: t => int
localStorage
RESCRIPT
let localStorage: t
sessionStorage
RESCRIPT
let sessionStorage: t