Packages

Allows the use of `when` clauses on assignment statements as an alternative to using `if`, avoiding the need for boilerplate `else` clauses which return the original variables when the condition is `false`. For instance: ```elixir x = 1 when x == nil ```

Current section

0 Dependants

Jump to

Packages depending on assign_when

0 packages

No packages depend on assign_when yet.

Checksum

Dependency Config

mix.exs

rebar.config

Gleam

erlang.mk

Package Details

Downloads Last 30 days, all versions
0 50 100 150 200

this version

16 703

yesterday

29

last 7 days

247

all time

16 787

Last Updated

Apr 19, 2025

License

Apache-2.0

Build Tools

mix

Publisher

demerphq demerphq

Links

Owners