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

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

Summary

Types

t()

All the types that implement this protocol.

Functions

Converts term to a Integer.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec to(t()) :: integer()

Converts term to a Integer.