The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::EqualityCheckable - EqualityCheckable Interface

Description

EqualityCheckable interface in SPVM has interface methods to check equality of two objects.

Usage

  interface EqualityCheckable;

Interface Methods

required method eq : int ($a : object, $b : object);

An interface method to check equality of two objects.

If $a is equal to $b, returns 1, otherwise returns 0.

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License