Skip to main content

get_tuple

Function get_tuple 

Source
pub fn get_tuple(term: Term<'_>) -> Result<Vec<Term<'_>>, Error>
Expand description

Convert an Erlang tuple to a Rust vector. (To convert to a Rust tuple, use term.decode() instead.)

ยงErrors

badarg if term is not a tuple.