View Source TypeCheck.Builtin.Port (TypeCheck v0.12.0)

Type to check whether the given input is any port.

Check Port for more information on ports.

NOTE: The property testing generator will generate ports of the cat binary which is a sensible default as it will send back any binaries sent to it exactly. However, note that generated ports are not automatically closed.

Link to this section Summary

Types

(This type is managed by TypeCheck, which allows checking values against the type at runtime.)

t()

(This type is managed by TypeCheck, which allows checking values against the type at runtime.)

Link to this section Types

@type problem_tuple() :: {t(), :no_match, %{}, any()}

(This type is managed by TypeCheck, which allows checking values against the type at runtime.)

Full definition:

problem_tuple :: {t(), :no_match, %{}, any()}
@type t() :: %TypeCheck.Builtin.Port{}

(This type is managed by TypeCheck, which allows checking values against the type at runtime.)

Full definition:

t :: %TypeCheck.Builtin.Port{}