UNPKG

dynamodb-toolbox

Version:

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

12 lines (11 loc) 340 B
export declare const $IS_EXTENSION: unique symbol; export type $IS_EXTENSION = typeof $IS_EXTENSION; export type Extended<VALUE> = { [$IS_EXTENSION]: true; } & VALUE; export type Unextended<VALUE> = { [$IS_EXTENSION]?: false; } & VALUE; export declare const isExtension: (input: unknown) => input is { [$IS_EXTENSION]: true; };