pub(super) fn is_literals(ty: &Type) -> bool
Expand description

This method returns true for types like 'foo' and 'foo' | 'bar'.