is_mapping

is_mapping(x)[source]

Return true if x is a mapping.

Return type:

TypeGuard[Mapping[Any, Any]]