import { getIdFromValue } from '../getIdFromValue';
export const checkIsSelected = (value, optionId) => {
    if (!value || !value.length) {
        return false;
    }
    return value.some((item) => getIdFromValue(item) === optionId);
};
