Constructor and Description |
---|
Js() |
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
asList(com.google.gwt.core.client.JavaScriptObject o)
Box a native JS array in a Java List.
|
static <T> T |
createJsArray() |
static <T> T |
createJsObject() |
static com.google.gwt.core.client.JavaScriptObject |
getError(String msg) |
static com.google.gwt.core.client.JavaScriptObject |
getUndefined() |
static boolean |
isObject(Object o) |
static boolean |
isPrimitiveType(Object dataItem) |
static boolean |
isTrue(Object o) |
static boolean |
isUndefinedOrNull(Object o) |
public Js()
public static <T> T createJsObject()
public static <T> T createJsArray()
public static <T> List<T> asList(com.google.gwt.core.client.JavaScriptObject o)
public static boolean isPrimitiveType(Object dataItem)
public static boolean isUndefinedOrNull(Object o)
public static com.google.gwt.core.client.JavaScriptObject getUndefined()
Copyright © 2018. All rights reserved.