Skip to content

Commit ab5f6d0

Browse files
ilyaboCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent addcec4 commit ab5f6d0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/utils/src/arrow-data-container.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ type ArrowDataContainerInput = {
1717
};
1818

1919
/**
20-
* check if table is an ArrowTable object
21-
* @param table - object to check
22-
* @returns {boolean} - true if table is an ArrowTable object type guarded
20+
* Checks if the provided object is an Arrow Table.
21+
* @param data - The object to check.
22+
* @returns {boolean} - Returns true if the object is an Arrow Table; acts as a type guard for arrow.Table.
2323
*/
2424
export function isArrowTable(data: any): data is arrow.Table {
2525
return (

src/utils/src/data-container-interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type RangeOptions = {
1515
export interface DataContainerInterface {
1616
/**
1717
* Updates the data container with new data.
18-
* @param updateData updated data, e.g. for arrow data container, it's an array of arrow columns; for row data container, it's an array of rows.
18+
* @param updateData updated data, e.g. for arrow data container, it's an array of arrow columns or an arrow.Table; for row data container, it's an array of rows.
1919
*/
2020
update?(updateData: any[] | arrow.Table): void;
2121

0 commit comments

Comments
 (0)