betty.assertions.isinstance module

Instance check assertions.

betty.assertions.isinstance.assert_isinstance(alleged_type: type[ValueT], /) Pipe[Any, ValueT]

Assert that a value is an instance of the given type.

This assertion is NOT optimized to be user-facing (it is untranslated) because Python types are not user-facing.