Module esmpp_format

Generic formatting helper.

Description

Generic formatting helper

Function Index

ensure_binary/1Ensures that the term passed to this function is a binary.

Function Details

ensure_binary/1

ensure_binary(Term::iodata() | integer() | atom()) -> binary()

Ensures that the term passed to this function is a binary. If the variable passed contains list, int, or atom, it will be converted to binary.


Generated by EDoc, Mar 28 2017, 17:52:12.