Wongi.Engine.Filter protocol (Wongi.Engine v0.9.18)

View Source

Filters tokens based on a predicate.

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

pass?(filter, token)

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