Would this work? listVariable*.class == [Integer, Integer]
On 29 March 2016 at 12:25, Maarten Boekhold <boekh...@gmx.com> wrote: > Hi, > > Is there a quick and easy way to do something like: > > assert listVariable == [int, int] > > eg, the list is of size 2 and each element is an int? > > Maarten >