Java Nashorn Javascript Library isArrayType(final Object value)

Here you can find the source of isArrayType(final Object value)

Description

is Array Type

License

Apache License

Declaration

public static boolean isArrayType(final Object value) 

Method Source Code

//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*/
}

Related

  1. decode(final Object self, final String string, final boolean component)
  2. encode(final Object self, final String string, final boolean component)
  3. error(final String string, final int index)
  4. escape(Object value)
  5. getArrayLength(NativeArray arr)
  6. isDateType(final ScriptObjectMirror value)
  7. isNashornScript(final String className)
  8. isNativeObject(final Object value)
  9. newObject()