Name

SPVM::Callback::Grep - A Callback for The grep Method

Description

The Callback::Grep interface in SPVM has interface methods for Fn#grep.

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