public boolean getAsBoolean() { return Context.toBoolean(scriptable); }
public boolean applyInContext(Context cx, Object input) { if (extractionFn != null) { input = extractionFn.apply(input); } return Context.toBoolean(fnApply.call(cx, scope, scope, new Object[]{input})); }
boolean retval = Context.toBoolean( res );
overwrite = Context.toBoolean( ArgList[2] );
overwrite = Context.toBoolean( ArgList[2] );
public boolean getAsBoolean() { return Context.toBoolean(scriptable); }
public boolean getAsBoolean() { return Context.toBoolean(scriptable); }
public boolean applyInContext(Context cx, String input) { return Context.toBoolean(fnApply.call(cx, scope, scope, new String[]{input})); }
public boolean applyInContext(Context cx, Object input) { if (extractionFn != null) { input = extractionFn.apply(input); } return Context.toBoolean(fnApply.call(cx, scope, scope, new Object[]{input})); }
public boolean applyInContext(Context cx, Object input) { if (extractionFn != null) { input = extractionFn.apply(input); } return Context.toBoolean(fnApply.call(cx, scope, scope, new Object[]{input})); }
public boolean has(int index, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { new Integer(index) }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(index, start); } }
public boolean has(int index, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { new Integer(index) }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(index, start); } }
public boolean has(int index, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { new Integer(index) }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(index, start); } }
@Override public boolean has(int index, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { new Integer(index) }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(index, start); } }
public boolean has(String name, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { name }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(name, start); } }
public boolean has(String name, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { name }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(name, start); } }
@Override public boolean has(String name, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { name }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(name, start); } }
public boolean has(String name, Scriptable start) { Function func = getAdapteeFunction(HAS_PROP); if (func != null) { Object res = call(func, new Object[] { name }); return Context.toBoolean(res); } else { start = getAdaptee(); return start.has(name, start); } }
public static Scriptable jsFunction_reindex(final Context ctx, final Scriptable object, final Object[] args, final Function func) { if (args.length > 0 && args[0] instanceof NativeArray) { if (args.length > 1) { return new DataFrameAdapter(object, cast(object).df.reindex( asList(args[0]).toArray(), Context.toBoolean(args[1]))); } return new DataFrameAdapter(object, cast(object).df.reindex(asList(args[0]).toArray())); } return new DataFrameAdapter(object, cast(object).df.reindex(args)); }
public static Scriptable jsFunction_reindex(final Context ctx, final Scriptable object, final Object[] args, final Function func) { if (args.length > 0 && args[0] instanceof NativeArray) { if (args.length > 1) { return new DataFrameAdapter(object, cast(object).df.reindex( asList(args[0]).toArray(), Context.toBoolean(args[1]))); } return new DataFrameAdapter(object, cast(object).df.reindex(asList(args[0]).toArray())); } return new DataFrameAdapter(object, cast(object).df.reindex(args)); }