Skip to content

[T] MultipleOfDecorator

type MultipleOfDecorator: (context, target, value) => void;

Specify that the numeric type must be a multiple of some numeric value.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetScalar | ModelProperty-
valueNumericThe numeric type must be a multiple of this value.

Returns

void