function getRowKeysByRangeRowKeys({
    topRowKey,
    bottomRowKey,
    allRowKeys,
}) {
    let result = null;

    const beginIndex = allRowKeys.findIndex((x) => x === topRowKey);
    const endIndex = allRowKeys.findIndex((x) => x === bottomRowKey);

    if (beginIndex !== -1 && endIndex !== -1) {
        result = allRowKeys.slice(beginIndex, endIndex + 1);
    }

    return result;
}
@getRowKeysByRangeRowKeys
@desc get row keys by range row keys
@param {any} topRowKey - top row key
@param {any} bottomRowKey - bottom row key
@return Array<colKeys>