Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1x 5x | import { DynamoAttributeValue } from "@aws-cdk/aws-stepfunctions-tasks"; import { DynamoAttributeName } from "./attribute-name"; /** * The type that can be embedded in expression. */ export type Placeholder = DynamoAttributeName | DynamoAttributeValue; /** * Currently Placeholder type is neither DynamoAttributeName of DynamoAttributeValue, * so we can assume the argument is a DynamoAttributeName by x is a string. * * @internal */ export const isAttrName = (x: Placeholder): x is DynamoAttributeName => typeof x === "string"; |