Guards
Everything on SkillVeris tagged Guards — collected across the glossary, study notes, blog, and cheat sheets.
6 resources across 1 library
Study Notes(6)
Guards and Clauses
How Erlang guards extend pattern matching with safe boolean conditions to express multi-way branching without if/else.
Guards and case in Elixir
Learn how Elixir's case expression and guard clauses let you branch on pattern matches with additional boolean conditions, and when to reach for cond instead.
Guards and Case Expressions
Learn how boolean guards and case expressions give Haskell readable, structured alternatives to nested if-then-else chains for multi-way branching.
Type Guards in TypeScript
Narrow union types safely within conditional blocks using `typeof`, `instanceof`, and custom user-defined type predicates with `is`.
Navigation Guards
Understand how global, per-route, and in-component navigation guards let you control, cancel, or redirect navigation, e.g. for authentication.
Route Guards
Learn how functional route guards control navigation access — protecting routes behind authentication, confirming unsaved changes, and pre-fetching data before…