forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-15712 [R] Add a
type
method for Expression
objects
This would allow for more consistent syntax when extracting the type of an expression. A block like this: ```r if (inherits(x, "Expression")) { class <- x$type()$ToString() } else { class <- type(x)$ToString() } ``` would be simplified to ```r class <- type(x)$ToString() ``` Closes apache#12447 from dragosmg/type_method_for_expression Authored-by: Dragoș Moldovan-Grünfeld <[email protected]> Signed-off-by: Nic Crane <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters