Question: In grails gsp, instead of 

```
<g:if env="development">
     <H1> xyz </H2>
</g:if>
<g:if env="production">
     <H1> xyz </H2>
</g:if>

```

is it possible to write logical or condition in to combine the two conditions

for example

```
<g:if test="env='production'"||"env='devlopment'">
    <H1> xyz </H2>
</g:if>

```

What's the right way of doing that? Right now I am having errors. 

Thanks,

Answer: 
Just for the sake of DRYness:

```
<%@ page import="grails.util.Environment" %> 
<g:if test="${Environment.current in 
                [Environment.PRODUCTION, Environment.DEVELOPMENT]}">
    <h1>xyz</h1>
</g:if>

```
I found the following would work.

```
<g:if test="${grails.util.Environment.current.name.equals('development') ||                      
              grails.util.Environment.current.name.equals('production')}">
        <h1>xyz</h1>
</g:if>

```