"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "isValidDataSource", {
    enumerable: true,
    get: function() {
        return isValidDataSource;
    }
});
const _data = require("../../../helpers/data");
function isValidDataSource(data) {
    return Array.isArray(data) && (data.length === 0 || (0, _data.isArrayOfObjects)(data));
}
