std1.0.0-beta-7 SafeC docs

std :: wasm::dom

Function std::dom_storage_get

#include <std/wasm/dom.h> source ยท definition

int dom_storage_get(int kind, const &char key, &String out)

localStorage (DOM_STORAGE_LOCAL) / sessionStorage (DOM_STORAGE_SESSION). get: 1 and the value appended to 'out', or 0 if the key is absent.