fn op_first( last: bool, input: &Value, step: usize, state: &mut State, ) -> Result<Value, TransformError>