ExGram.Model.Subtype protocol (ex_gram v0.55.1)

View Source

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

selector_value(struct, params)

@spec selector_value(t(), map()) :: any()

subtype(struct, selector_value)

@spec subtype(t(), any()) :: atom()