[][src]Function glsp_engine::arr_from_iter

pub fn arr_from_iter<T>(iter: T) -> GResult<Root<Arr>> where
    T: IntoIterator,
    T::Item: ToVal

Constructs an array from the contents of a Rust iterator.

Returns an Err if type conversion fails for any element.