Array[Str]] @!properties;
Except this wont work.
Best regards
Mikkel
Thank you. This was what i were looking for.
/mikkel
On Thu, 15 Aug 2019 at 17:59, Simon Proctor wrote:
> Oh. That's easy use an any junction.
>
> say any(@objects) ~~ Bool;
>
> On Thu, 15 Aug 2019 at 16:10, Mikkel wrote:
>
>> Hi Simon
>>
>> That was c
Hi Simon
That was certainly a simple way.
But this checks for the value of True rather than the object type Bool
right? What if I wanted to know if an Int, (with any given value) were
among the values?
Best regards
Mikkel
On Thu, 15 Aug 2019 at 16:38, Simon Proctor wrote:
> The easiest opt
se whether the given object is present or not?
Best Regards
Mikkel Birkedam
h("Test");
[Test]
> $files.push("Test 2");
[Test Test 2]
> for $files -> Str $f {.say}
Type check failed in binding to parameter '$f'; expected Str but got
Array[Str] (Array[Str].new("Test", "Test 2"))
in block at line 1
Best regards
Mikkel Birkedam