public static @Nullable float[] toFloatArray(@Nullable ReadableArray value) {
        if (value == null){
            return null;
        }

        float[] result = new float[value.size()];
        for (int i = 0; i < value.size(); i++) {
            result[i] = (float) value.getDouble(i);
        }
        return result;
    }
Class containing few common helper methods.
Note - Feel free to split / rename this class as this class gets more methods
android/viro_bridge/src/main/java/com/viromedia/bridge/utility/Helper.java