Aspire v0.1.0 Aspire.Utils View Source

This module is only for inner usage.

Link to this section Summary

Functions

Wrapper around standard &:erlang.list_to_binary/1

Wrapper around standard &String.to_existing_atom/1

Link to this section Functions

Wrapper around standard &:erlang.list_to_binary/1

Examples

iex> Aspire.Utils.list_to_binary('hello')
  "hello"
  iex> Aspire.Utils.list_to_binary([])
  ""
Link to this function string_to_existing_atom(binary) View Source

Wrapper around standard &String.to_existing_atom/1

Examples

iex> Aspire.Utils.string_to_existing_atom("erlang")
  :erlang