Here you can find the source of isArrayType(final Object value)
public static boolean isArrayType(final Object value)
//package com.java2s; //License from project: Apache License import jdk.nashorn.api.scripting.ScriptObjectMirror; public class Main { public static boolean isArrayType(final Object value) { return (value instanceof ScriptObjectMirror) && ((ScriptObjectMirror) value).isArray(); }/*from w w w.java 2s . c o m*/ }