MCPcopy Create free account
hub / github.com/microsoft/SandDance / getColumnWithName

Function getColumnWithName

packages/sanddance-explorer/src/dialogs/search.tsx:51–55  ·  view source on GitHub ↗
(columnName: string, columns: SandDance.types.Column[])

Source from the content-addressed store, hash-verified

49}
50
51function getColumnWithName(columnName: string, columns: SandDance.types.Column[]) {
52 for (let i = 0; i < columns.length; i++) {
53 if (columns[i].name === columnName) return columns[i];
54 }
55}
56
57function validateExpression(ex: InputSearchExpression) {
58 if (ex.operator === 'isnullorEmpty') {

Callers 2

updateExpressionMethod · 0.70
renderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected