Drop typed array requirement (more compat)
This commit is contained in:
parent
d384216b42
commit
458b1fc6e0
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ func evaluate() -> bool:
|
||||||
# +++ types and classes +++
|
# +++ types and classes +++
|
||||||
## Validates if [param data] matches some [enum Variant.Type].[br]
|
## Validates if [param data] matches some [enum Variant.Type].[br]
|
||||||
## Applies to all data types (obviously).
|
## Applies to all data types (obviously).
|
||||||
func matches_type(types: Array[Variant.Type]) -> CoreValidationSingle:
|
func matches_type(types: Array) -> CoreValidationSingle:
|
||||||
rules.append({ "type": CoreTypes.ValidationType.MATCHES_TYPE, "types": types })
|
rules.append({ "type": CoreTypes.ValidationType.MATCHES_TYPE, "types": types })
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue