| Package | Description |
|---|---|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Method and Description |
|---|---|
UnionType |
JSType.toMaybeUnionType()
Downcasts this to a UnionType, or returns null if this is not a UnionType.
|
UnionType |
UnionType.toMaybeUnionType() |
UnionType |
ProxyObjectType.toMaybeUnionType() |
| Modifier and Type | Method and Description |
|---|---|
JSType |
TemplateTypeReplacer.caseUnionType(UnionType type) |
T |
Visitor.caseUnionType(UnionType type)
Union type's case.
|
T |
Visitor.WithDefaultCase.caseUnionType(UnionType type) |
Copyright © 2009-2020 Google. All Rights Reserved.