scripts: add functions need_one_of and need_array_of to check_site_lib.lua
need_one_of(varname, array, required) checks weather the value of the specified variable is part of given array. need_array_of(varname, array, required) is similar to need_one_of() but assume that varname points to an array.
Loading
Please register or sign in to comment