Function casper_contract::contract_api::runtime::has_key
source · pub fn has_key(name: &str) -> bool
Expand description
Returns true
if name
exists in the current context’s named keys.
The current context is either the caller’s account or a stored contract depending on whether the currently-executing module is a direct call or a sub-call respectively.