View Source Orb.TypeNarrowable protocol (Orb v0.1.1)

Summary

Types

t()

All the types that implement this protocol.

Functions

Protocol for narrowing types e.g. from Elixir.Integer to I32.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

type_narrow_to(node, narrower_type)

View Source

Protocol for narrowing types e.g. from Elixir.Integer to I32.