ListToCsv.Option (list_to_csv v0.1.1) View Source

ListToCsv.Option contains types and utilities for option.

Link to this section Summary

Link to this section Types

Specs

key() :: String.t() | atom() | integer() | function()

Specs

keys() :: [key()] | key()

Specs

t() :: %{header: [{String.t(), keys()}], length: [{keys(), integer()}] | nil}

Link to this section Functions

Specs

expends(t()) :: [{String.t(), keys()}]
Link to this function

expends_header(headers, keys, n)

View Source
Link to this function

match_keys?(keys, sub_keys)

View Source

Specs

match_keys?([key()], [key()]) :: boolean()
Link to this function

replace_first(list, from, to)

View Source