Skip to content
Snippets Groups Projects
Commit 21e03321 authored by kb-light's avatar kb-light
Browse files

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.
parent c84bb179
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment