View Source Wongi.Engine.Filter protocol (Wongi.Engine v0.9.9)

Filters tokens based on a predicate.

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec pass?(t(), Wongi.Engine.Token.t()) :: boolean()