MapSorter.SortSpec (Map Sorter v0.2.35) View Source

Defines the sort spec types.

Link to this section Summary

Link to this section Types

Specs

key() :: term() | [term()]

Specs

sort_dir() :: :asc | :desc

Specs

t() ::
  key()
  | {key(), module()}
  | {sort_dir(), key()}
  | {sort_dir(), {key(), module()}}