function isCellInSelectionRange({
    cellData,
    cellSelectionRangeData,
    colgroups,
    allRowKeys,
}) {
    const { leftColKey, rightColKey, topRowKey, bottomRowKey } =
        cellSelectionRangeData;

    const colKeys = getColKeysByRangeColKeys({
        colKey1: leftColKey,
        colKey2: rightColKey,
        colgroups,
    });
    const rowKeys = getRowKeysByRangeRowKeys({
        topRowKey,
        bottomRowKey,
        allRowKeys,
    });

    if (
        colKeys.indexOf(cellData.colKey) > -1 &&
        rowKeys.indexOf(cellData.rowKey) > -1
    ) {
        return true;
    }
    return false;
}
@isCellInSelectionRange
@desc is cell in selection range
@param {object} cellData - cell data
@param {object} cellSelectionRangeData
@param {array<object>} colgroups
@param {array<object>} allRowKeys
@return {Array<colKeys>}