[−]Function near_bindgen::env::storage_write
pub fn storage_write(key: &[u8], value: &[u8]) -> bool
Writes key-value into storage.
If another key-value existed in the storage with the same key it returns true
, otherwise false
.