Name
SPVM::Int - The int Object
Description
The Int class has methods to manipulate an object that has an int value.
This class is immutable.
This class is automatically loaded.
Usage
my $int_object = Int->new(5);
my $int_value = $int_object->value;
Fields
value
has value : ro int;
The value.
Class Methods
new
static method new : Int ($value : int);
Creates a new Int object with a int
$value.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License