How can I write a logical or operator for two values?
I've tried if [type] == "test-request" || [type] == "test1-request" but this gives me a syntax error.
I want it to work on how a logical OR operator works. If type value matches either one then true else false.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.