Int

Int

Int is the primitive type for integers in the shell.

ACCEPTS

method ACCEPTS(Int $b āŸ¶ Bool)

Returns true if the argument is an Int and equal to the invocant.

Bool

method Bool( āŸ¶ Bool)

Ints are true in Bool context if they are not equal to 0

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.