Skip to main content

spec_kind

Function spec_kind 

pub fn spec_kind(spec: &ActionSpec) -> ActionKind
Expand description

What kind of action a published spec is: a view only reads, an effect reaches outside the document, and a document action changes only the document when the host’s undo reverts it, else it reaches outside.