Skip to main content

interp_deque_pop_front

Function interp_deque_pop_front 

Source
fn interp_deque_pop_front(
    args: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Remove and return the first element of a deque.

Returns NULL if the deque is empty.

@param d integer scalar: deque ID @return the removed value, or NULL if empty