Skip to content

Overview

This reference is generated from the source docstrings and is grouped by the mixin that implements each assertion, mirroring the code layout.

The assertions available on a value are the union of the mixins for its type. On a string (assert_that("x")) that is everything on:

For a task-oriented view organized by value type instead, see the Type assertions guide.

Signatures here are the runtime implementations. How the static return type narrows per value type (the typed overloads that drive editor autocomplete) is explained in Type safety.