Update to f45a83bf2c07118741fcd3fa247942c65bd75b99
This commit is contained in:
parent
61c29d1973
commit
62cc180554
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ func has_values(values: Array) -> CoreValidationSingle:
|
||||||
|
|
||||||
## Ensures that [param data] contains at least <[code]minimum_matches[/code]> (or all if set to [code]-1[/code]) values.[br]
|
## Ensures that [param data] contains at least <[code]minimum_matches[/code]> (or all if set to [code]-1[/code]) values.[br]
|
||||||
## Applies to [String] & [StringName].
|
## Applies to [String] & [StringName].
|
||||||
func contains(values: Array[String], minimum_matches: int = 1) -> CoreValidationSingle:
|
func contains(values: Array, minimum_matches: int = 1) -> CoreValidationSingle:
|
||||||
rules.append({ "type": CoreTypes.ValidationType.HAS_VALUES, "values": values, "minimum_matches": minimum_matches })
|
rules.append({ "type": CoreTypes.ValidationType.HAS_VALUES, "values": values, "minimum_matches": minimum_matches })
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue