function getRowMode(oTable) {
		const vRowMode = oTable.getRowMode();

		/**
		 * @deprecated As of version 1.119
		 */
		if (!oTable.isDestroyStarted() && !TableUtils.isA(vRowMode, "sap.ui.table.rowmodes.RowMode") && !_private(oTable).oDefaultRowMode) {
			initDefaultRowMode(oTable);
		}

		return TableUtils.isA(vRowMode, "sap.ui.table.rowmodes.RowMode") ? vRowMode : _private(oTable).oDefaultRowMode;
	}
Gets the row mode of the table. This is either the applied row mode instance, or the default row mode instance if it was already created.

@param {sap.ui.table.Table} oTable The table from which to get the row mode.
@returns {sap.ui.table.rowmodes.RowMode | undefined} The row mode of the table.