"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkIsIndeterminate = void 0;
const getIdFromValue_1 = require("../getIdFromValue");
const checkIsIndeterminate = (value, childrenIds) => {
    if (!value || !childrenIds) {
        return false;
    }
    return value.some((item) => childrenIds.includes((0, getIdFromValue_1.getIdFromValue)(item)));
};
exports.checkIsIndeterminate = checkIsIndeterminate;
