AnyNotNullType
dotty.tools.sjs.ir.Types.AnyNotNullType
case object AnyNotNullType extends Type
Any type except null.
Attributes
- Graph
-
- Supertypes
- Self type
-
AnyNotNullType.type
Members list
Value members
Concrete methods
A type that accepts the same values as this type except null, unless this type is VoidType.
A type that accepts the same values as this type except null, unless this type is VoidType.
If this is VoidType, returns this type.
For all other types tpe, tpe.toNonNullable.isNullable is false.
Attributes
Inherited methods
Creates a new instance of type T with elements taken from product p.
Creates a new instance of type T with elements taken from product p.
Attributes
- Inherited from:
- Singleton
Is null an admissible value of this type?
An iterator over the names of all the elements of this product.
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
In this article