get

Function get 

Source
pub fn get<T: 'static + Default>() -> &'static T
👎Deprecated since 0.4.8: Unsafe memory methods are deprecated, use the safer ic_kit::ic::with method.
Expand description

Return the data associated with the given type. If the data is not present the default value of the type is returned.