Skip to main content

is_choice

Function is_choice 

Source
pub fn is_choice(contract_id: &Identifier, document_type_name: &str) -> bool
Expand description

Whether a document of document_type_name in the contract contract_id is a choice: a choice of the decision proposals contract. Its create joins the vote among the choices of the proposal it answers, or opens it.