//for Classes check if the value is SCALAR public static boolean is_scalar(Object var) { if( (var instanceof Number) || (var instanceof String) || (var instanceof Boolean)) return true; return false; }
//for Classes check if the value is SCALAR public static boolean is_scalar(Object var) { if( (var instanceof Number) || (var instanceof String) || (var instanceof Boolean)) return true; return false; }
1 Response
[…] make that work we will use code from some other posts : [Is Scalar], [join], [List to […]