UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

3 lines (2 loc) 205 B
import type { If } from '../types/index.js'; export declare const ifThenElse: <CONDITION extends boolean | undefined, THEN, ELSE>(condition: CONDITION, then: THEN, els: ELSE) => If<CONDITION, THEN, ELSE>;