Function: Validator()
Validator(
func): (target,propertyKey) =>void
Defined in: core/src/decorators/ObjectDecorators.ts:122
Apply this to a property to specify the function that will be used to perform validation of the value.
Parameters
func
The validation function to use for the given property.
Returns
(target, propertyKey) => void