Function near_sdk::env::storage_write[][src]

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.