[−][src]Function actions_core::state
pub fn state<K: ToString>(name: K) -> Result<String, VarError>
Similar to input
, but, gets data shared from a wrapper action.
use actions_core as core; let greeting = core::state("my_greeting") .unwrap_or_else(|_| "hello".to_owned());