module import { Metadata } from '../../../decorator/metadata/metadata' ; import { ConditionExpressionDefinitionFunction } from '../type/condition-expression-definition-function' ; import { Expression } from '../type/expression.type' ; example export function not ( conditionDefinitionFn ) { return ( expressionAttributeValues , metadata ) : Expression => { const condition = conditionDefinitionFn ( expressionAttributeValues , metadata ) ; condition . statement = `NOT ${ condition . statement }` ; return condition ; } ; }