| 68 | }); |
| 69 | |
| 70 | Expression cast(Expression argument, std::shared_ptr<DataType> to_type) { |
| 71 | return call("cast", {std::move(argument)}, |
| 72 | compute::CastOptions::Safe(std::move(to_type))); |
| 73 | } |
| 74 | |
| 75 | Expression true_unless_null(Expression argument) { |
| 76 | return call("true_unless_null", {std::move(argument)}); |