Nullable

Adjective · Development

Definitions

  1. A type annotation indicating that a variable may hold either a valid value or null/nil/None, requiring explicit handling before use in null-safe languages.

    In plain English: A label on a variable that says 'this might be empty,' so the language can remind you to check before using it.

    Example: "String? means it could be a string or null — the question mark is your warning sign."

Related Terms