|
|
|
|
|
by bitwalker
1046 days ago
|
|
The only time `is_` is used, is with functions permitted in guards. These are functions defined in Erlang, and only a small handful exist, and you learn them very early on. With the advent of `defguard`, it is conventional to use `is_` with custom guards as well, but that’s the intuition - guards vs general predicates. |
|
I understand the reasoning for the distinction and its roots in Erlang, it's just not very elegant to work with.