builtins::collections

Function to_vec

Source
pub fn to_vec(environment: &mut SloshVm, src: Value) -> VMResult<Value>
Expand description

Usage: (to-list any)

Turns any one value into a vector. If that value or if it was a sequence a new sequence with the same values.

Section: core