(tData: TData)
| 522 | * @param tData Current `TData` where the `DirectiveDef` will be looked up at. |
| 523 | */ |
| 524 | export function getCurrentDirectiveDef(tData: TData): DirectiveDef<any> | null { |
| 525 | const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex; |
| 526 | return currentDirectiveIndex === -1 ? null : (tData[currentDirectiveIndex] as DirectiveDef<any>); |
| 527 | } |
| 528 | |
| 529 | export function getCurrentQueryIndex(): number { |
| 530 | return instructionState.lFrame.currentQueryIndex; |
no outgoing calls
no test coverage detected
searching dependent graphs…