cwchen icon

[Perl 6] Checking the existence of elements with elem

cwchen | PRO | 11/09/17 02:26:34 AM UTC | 0 ⭐ | 8211 👁️ | Never ⏰ | []
Perl 6 |

0 B

|

None

|

0 👍

/

0 👎

my $set= (1, 2, 3, 4, 5).Set;
 
1 (elem) $set or die "Wrong status";
(10 (elem) $set) == False or die "Wrong status";

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎