View Source Newt.Unwrap protocol (Newt v4.3.0)

A protocol for unwrapping values from NewTypes.

Summary

Types

t()

All the types that implement this protocol.

Functions

Unwraps a value from a NewType.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec unwrap(any()) :: any()

Unwraps a value from a NewType.