Hello.

Suppose I have an array (or should I say a positional?):
my @objects = [1, True, "string", 5, Str.new];
Containing different kind of objects. It could be Ints, Strs and Bools.
Is there a nice way of determining if for example a Bool is present in the
array, returning True or False whether the given object is present or not?

Best Regards
Mikkel Birkedam

Reply via email to