Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove no longer unused getQueryResultOrValue
  • Loading branch information
seefeldb committed Jun 27, 2025
commit 4cd252355f0fe400dbab40fc4fcf64f895fb3040
1 change: 0 additions & 1 deletion packages/runner/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export { isDoc } from "./doc.ts";
export { isCell, isStream } from "./cell.ts";
export {
getCellLinkOrThrow,
getCellLinkOrValue,
isQueryResult,
isQueryResultForDereferencing,
} from "./query-result-proxy.ts";
Expand Down
11 changes: 0 additions & 11 deletions packages/runner/src/query-result-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,17 +301,6 @@ function isProxyForArrayValue(value: any): value is ProxyForArrayValue {
return isRecord(value) && originalIndex in value;
}

/**
* Get cell link or return values as is if not a cell value proxy.
*
* @param {any} value - The value to get the cell link or value from.
* @returns {LegacyDocCellLink | any}
*/
export function getCellLinkOrValue(value: any): LegacyDocCellLink {
if (isQueryResult(value)) return value[getCellLink];
else return value;
}

/**
* Get cell link or throw if not a cell value proxy.
*
Expand Down