Drop typed array requirement (more compat)

This commit is contained in:
JeremyStar™ 2024-05-11 02:39:41 +02:00
parent d384216b42
commit 458b1fc6e0
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -221,7 +221,7 @@ func evaluate() -> bool:
# +++ types and classes +++
## Validates if [param data] matches some [enum Variant.Type].[br]
## 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 })
return self