Skip to main content

builtin_as_integer

Function builtin_as_integer 

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

Coerce an object to integer.

Doubles are truncated toward zero.

@param x object to coerce @return integer vector