(
arg1:
| true
| Id
| ((getTableCell: GetTableCell, rowId: Id) => CellOrUndefined),
arg2?: Id,
arg3?: Id,
)
| 392 | const param = (paramId: Id) => objGet(paramValues, paramId); |
| 393 | |
| 394 | const select = ( |
| 395 | arg1: |
| 396 | | true |
| 397 | | Id |
| 398 | | ((getTableCell: GetTableCell, rowId: Id) => CellOrUndefined), |
| 399 | arg2?: Id, |
| 400 | arg3?: Id, |
| 401 | ) => { |
| 402 | const joinedTableId = isTrue(arg1) ? arg2 : arg1; |
| 403 | const joinedCellId = isTrue(arg1) ? arg3 : arg2; |
| 404 | const selectEntry: [Id, SelectClause] = isFunction(arg1) |
| 405 | ? [size(selectEntries) + EMPTY_STRING, arg1] |
| 406 | : isUndefined(joinedCellId) |
| 407 | ? [arg1 as Id, (getTableCell) => getTableCell(arg1 as Id)] |
| 408 | : [ |
| 409 | joinedCellId, |
| 410 | (getTableCell) => |
| 411 | isTrue(arg1) |
| 412 | ? getTableCell(true, joinedTableId as Id, joinedCellId) |
| 413 | : getTableCell(joinedTableId as Id, joinedCellId), |
| 414 | ]; |
| 415 | arrayPush(selectEntries, selectEntry); |
| 416 | return { |
| 417 | as: (selectedCellId: Id) => (selectEntry[0] = selectedCellId), |
| 418 | }; |
| 419 | }; |
| 420 | |
| 421 | const join = ( |
| 422 | arg1: true | Id, |
no test coverage detected
searching dependent graphs…