View Source Flamel.Boolean protocol (flamel v1.10.0)

The Flamel.Boolean protocol is responsible for converting a structure to an Boolean (only if applicable).

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts term to a Boolean.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec to(t()) :: boolean()

Converts term to a Boolean.