Function storage_write

Source
pub fn storage_write(key: &[u8], value: &[u8]) -> bool
Expand description

Writes key-value into storage.

If the the storage did not have this key present, false is returned.

If the map did have this key present, the value is updated, and true is returned.