ruff
743764d3 - [ty] Simplify `Type::try_bool()` (#18342)

Commit
202 days ago
[ty] Simplify `Type::try_bool()` (#18342) ## Summary I don't think we're ever going to add any `KnownInstanceType` variants that evaluate to `False` in a boolean context; the `KnownInstanceType::bool()` method just seems like unnecessary complexity. ## Test Plan `cargo test -p ty_python_semantic`
Author
Parents
Loading