refactor: allow passing groups as array or string
refactor: allow passing groups as array or string

And disallow all the others.
Also check if the actual length of the groups has values in it.

itslanguage/itslanguage-js,itslanguage/itslanguage-js