[I] UsageTracker
Usage information collected from the operations supplied to resolveUsages.
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
types | readonly | readonly TrackableType[] | Encountered types in first-discovery order, with each type appearing once. |
Methods
Section titled “Methods”isUsedAs()
Section titled “isUsedAs()”isUsedAs(type, usage): boolean;Whether a tracked type has any of the requested usage flags; untracked types return false.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
type | TrackableType |
usage | UsageFlags |
Returns
Section titled “Returns”boolean