Extreme.Tools (extreme v1.1.2)

View Source

Set of tool functions for internal library use.

Summary

Functions

Cast the provided value to an atom if appropriate. If the provided value is a string, convert it to an atom, otherwise return it as-is.

Converts value to integer if it is binary or returns it as-is

Generates new UUID1 as binary.

Functions

cast_to_atom(value)

Cast the provided value to an atom if appropriate. If the provided value is a string, convert it to an atom, otherwise return it as-is.

cast_to_integer(value)

Converts value to integer if it is binary or returns it as-is

generate_uuid()

Generates new UUID1 as binary.