(execute_data: &mut ExecuteData, num: usize)
| 277 | } |
| 278 | |
| 279 | pub fn validate_num_args(execute_data: &mut ExecuteData, num: usize) -> anyhow::Result<()> { |
| 280 | if execute_data.num_args() < num { |
| 281 | bail!("argument count incorrect"); |
| 282 | } |
| 283 | Ok(()) |
| 284 | } |
| 285 | |
| 286 | pub fn get_this_mut(execute_data: &mut ExecuteData) -> anyhow::Result<&mut ZObj> { |
| 287 | execute_data.get_this_mut().context("$this is empty") |
no outgoing calls
no test coverage detected