betty.assertions.type module

Assertions to validate data’s Python types.

betty.assertions.type.assert_type(value_type: type[AssertTypeTypeT], /) Pipeline[Any, AssertTypeTypeT]

Assert that a value is of the specified built-in type.