Optional
Everything on SkillVeris tagged Optional — collected across the glossary, study notes, blog, and cheat sheets.
10 resources across 2 libraries
Study Notes(9)
Optional and ByRef Parameters
Learn how VB.NET's Optional, ByRef, and ParamArray parameters give procedures flexible, efficient, and expressive argument-passing options.
Protocols and Delegation
How @protocol defines interface-like contracts in Objective-C, and how the delegation pattern uses protocols to decouple objects.
Optional and Named Parameters
Learn Dart's positional-optional and named parameter syntax, how defaults and the required keyword work, and the rules governing how they combine.
Groovy Syntax Basics
A tour of Groovy's core syntax conveniences - optional typing, GString interpolation, native collection literals, and closures - compared to plain Java.
Optional Typing in Groovy
How Groovy lets you mix def (dynamic) and explicit static types, and how @TypeChecked and @CompileStatic add compile-time safety and performance.
Optional Chaining and Nullish Coalescing
The ES2020 ?. and ?? operators for safely accessing nested properties and providing defaults only for null/undefined.
Optional and Default Parameters in TypeScript
Make function parameters optional or give them default values, and understand how TypeScript infers their types.
Optional and Readonly Properties in TypeScript
Learn how to mark object properties as optional with `?` and immutable with `readonly`, and understand the compile-time-only nature of these guarantees.
Optional Binding in Swift
Optional binding safely unwraps an optional's value into a local constant only when a value is actually present.