@IsMongoId() Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. @IsMultibyte() Checks if the string contains one or more multibyte chars. @IsNumberString(options?: IsNumericOptions) Checks if the string is numeric. ...
isMongoId(str); // Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. validator.isMultibyte(str); // Checks if the string contains one or more multibyte chars. validator.isSurrogatePair(str); // Checks if the string contains any surrogate pairs chars. ...
@IsMongoId() Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. @IsMultibyte() Checks if the string contains one or more multibyte chars. @IsNumberString(options?: IsNumericOptions) Checks if the string is numeric. @IsSurrogatePair() Checks if the string cont...
648 validator.isMongoId(str); // Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. 649 validator.isMultibyte(str); // Checks if the string contains one or more multibyte chars. 650 validator.isSurrogatePair(str); // Checks if the string contains any su...
@IsNotIn(values: any[])Checks if value is not in a array of disallowed values.检查值是否不在不允许的值数组中 类型验证装饰器 修饰器描述(英⽂)描述(中⽂)@IsBoolean()Checks if a value is a boolean.是否为布尔值 @IsDate()Checks if the value is a date.是否为⽇期 @IsString()...
@IsMongoId()Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. @IsMultibyte()Checks if the string contains one or more multibyte chars. @IsNumberString(options?: IsNumericOptions)Checks if the string is numeric. ...
Indicates whether some other object is "equal to" this one. (Inherited from Object) GetFeature(String) Look up the value of a feature flag. GetHashCode() Returns a hash code value for the object. (Inherited from Object) GetProperty(String) Look up the value of a property. JavaFinaliz...
group( classType: ClassType<any>, // The class type of the form group value. // Angular FormBuilder group method parameters controlsConfig: { [p: string]: any }, options?: AbstractControlOptions | { [p: string]: any } | null, ): ClassValidatorFormGroup; ...
Indicates whether some other object is "equal to" this one. (Inherited from Object) GetFeature(String) Look up the value of a feature flag. GetHashCode() Returns a hash code value for the object. (Inherited from Object) GetProperty(String) Look up the value of a property. JavaFinaliz...
In other words, it is the application's responsibility to make sure that one ValidatorHandler object is not used from more than one thread at any given time. ValidatorHandler checks if the SAX events follow the set of constraints described in the associated Schema, and additionally it may ...