В процессе.

This commit is contained in:
sasha80
2023-07-25 15:16:54 +03:00
parent 33a5d0c79c
commit 3e13642ba0
6 changed files with 70 additions and 47 deletions

View File

@@ -3,6 +3,7 @@ extends Node
func assert_array_ipaddr(val: Array):
""" Выкидывает исключение, если массив не содержит ip-адрес """
assert(val.size() == 2)
assert(val[0] is String)
assert(val[1] is int)
assert((0 < val[1]) and (val[1] < 65536))