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::Callback::Grep - A Callback for The grep Method

Description

The Callback::Grep interface in SPVM has interface methods for the grep method in the Fn class.

Usage

  interface Callback::Grep;

Interface Methods

required method : int ($element : object);

Returns a true value if the condition corresponding to the element $element is satisfied, otherwise returns 0.

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License