View Source ExGram.Model.Subtype protocol (ex_gram v0.52.2)

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

selector_value(struct, params)

View Source
@spec selector_value(t(), map()) :: any()
Link to this function

subtype(struct, selector_value)

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