public interface TypeI
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBottom() |
boolean |
isConstructor() |
boolean |
isEquivalentTo(TypeI type) |
boolean |
isFunctionType() |
boolean |
isInterface() |
boolean |
isNullable() |
boolean |
isSubtypeOf(TypeI type) |
boolean |
isUnknownType() |
TypeI |
restrictByNotNullOrUndefined()
If this is a union type, returns a union type that does not include
the null or undefined type.
|
FunctionTypeI |
toMaybeFunctionType()
Downcasts this to a FunctionTypeI, or returns null if this is not
a function.
|
ObjectTypeI |
toMaybeObjectType()
If this type is a single object, downcast it to ObjectTypeI.
|
boolean isBottom()
boolean isConstructor()
boolean isEquivalentTo(TypeI type)
boolean isFunctionType()
boolean isInterface()
boolean isSubtypeOf(TypeI type)
boolean isUnknownType()
boolean isNullable()
TypeI restrictByNotNullOrUndefined()
FunctionTypeI toMaybeFunctionType()
ObjectTypeI toMaybeObjectType()
Copyright © 2009-2016 Google. All Rights Reserved.