Skip to main content

builtin_as_list

Function builtin_as_list 

Source
fn builtin_as_list(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Coerce an object to a list.

Atomic vectors are split into single-element list entries.

@param x object to coerce @return list