MCPcopy Create free account
hub / github.com/lightdash/lightdash / isRowFunction

Function isRowFunction

packages/common/src/utils/tableCalculationFunctions.ts:644–648  ·  view source on GitHub ↗
(type: TableCalculationFunctionType)

Source from the content-addressed store, hash-verified

642 * @returns True if the function is a row function
643 */
644export function isRowFunction(type: TableCalculationFunctionType): boolean {
645 return (ROW_FUNCTIONS as readonly TableCalculationFunctionType[]).includes(
646 type,
647 );
648}
649
650/**
651 * Checks if any of the parsed functions are pivot functions.

Calls

no outgoing calls

Tested by

no test coverage detected