Z! v1.1.0
  • Pages
  • Modules

    View Source Z.Result (Z! v1.1.0)

    The Result struct

    Link to this section Summary

    Types

    t()

    Functions

    add_issue(result, issue)
    add_issues(result, issues)
    new()
    set_status(result, status)
    set_value(result, value)
    to_tuple(result)

    Link to this section Types

    Link to this type

    t()

    View Source
    @type t() :: %Z.Result{issues: [Z.Issue.t()], status: :valid | :invalid, value: any()}

    Link to this section Functions

    Link to this function

    add_issue(result, issue)

    View Source
    Link to this function

    add_issues(result, issues)

    View Source
    Link to this function

    new()

    View Source
    Link to this function

    set_status(result, status)

    View Source
    Link to this function

    set_value(result, value)

    View Source
    Link to this function

    to_tuple(result)

    View Source

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.4) for the Elixir programming language