org.gwtopenmaps.openlayers.client.util.JBooleanImpl Maven / Gradle / Ivy
package org.gwtopenmaps.openlayers.client.util;
class JBooleanImpl
{
public static native boolean isBoolean(JSObject element)/*-{
return element instanceof $wnd.Boolean;
}-*/;
public static native JSObject create(boolean num)/*-{
return new $wnd.Boolean(num);
}-*/;
public static native boolean toBoolean(JSObject element)/*-{
return element.valueOf();
}-*/;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy