Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to validate isArray
loume
Hi,
I had a problem when I design a report in script.
There had a parameter set can be mulitple choice, and I need to validate this parameter is Array or String.
How can I use in the script?
thx.
Find more posts tagged with
Comments
loume
Sorry,
I find the way to get parameter type
reportContext.getParameterValue("xxxx").getClass().isArray()
this code can help me to validate parameter is array or not