[ 
https://issues.apache.org/jira/browse/JEXL-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Biestro resolved JEXL-423.
--------------------------------
    Resolution: Fixed

[Commited|https://github.com/apache/commons-jexl/commit/b640ba6820eb07ffc23043f118a3497f64339df5]

> Add support for instanceof / !instanceof
> ----------------------------------------
>
>                 Key: JEXL-423
>                 URL: https://issues.apache.org/jira/browse/JEXL-423
>             Project: Commons JEXL
>          Issue Type: New Feature
>    Affects Versions: 3.3
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.4
>
>
> The *instanceof*  operator allows to check whether an object belongs to a 
> certain class.
> It is using Class.isInstance to perform the check. As a convenience, {{ 
> !instanceof }} is supported as well avoiding parenthesis as in:
> {code:java}x !instanceof y{code} is equivalent to  {code:java} !(x instanceof 
> y){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to