compareRuntime(a, b): 0 | 1 | -1Attributes
Compares the provided values and returns their ordering.
filterRuntime(runtime, filter): undefined | string | boolean | SortableSet<string>Attributes
runtime:
RuntimeSpecruntime
filter:
(runtime?: RuntimeSpec) => booleanfilter function
Returns:
undefined | string | boolean | SortableSet<string>true/false if filter is constant for all runtimes, otherwise runtimes that are active
Returns true/false if filter is constant for all runtimes, otherwise runtimes that are active.
forEachRuntime(runtime, fn, deterministicOrder?): voidAttributes
Processes the provided runtime.
getEntryRuntime(compilation, name, options?): RuntimeSpecAttributes
compilation:
Compilationthe compilation
name:
stringname of the entry
options:
EntryOptionsoptionally already received entry options
Returns:
RuntimeSpecruntime
Gets entry runtime.
getRuntimeKey(runtime): stringAttributes
runtime:
RuntimeSpecruntime(s)
Returns:
stringkey of runtimes
Returns key of runtimes.
intersectRuntime(a, b): RuntimeSpecAttributes
Returns merged.
keyToRuntime(key): RuntimeSpecAttributes
key:
stringkey of runtimes
Returns:
RuntimeSpecruntime(s)
Returns runtime(s).
mergeRuntime(a, b): RuntimeSpecAttributes
Merges the provided values into a single result.
mergeRuntimeCondition(a, b, runtime): RuntimeConditionAttributes
Merges runtime condition.
mergeRuntimeConditionNonFalse(a, b, runtime): undefined | string | true | SortableSet<string>Attributes
a:
undefined | string | true | SortableSet<string>first
b:
undefined | string | true | SortableSet<string>second
runtime:
RuntimeSpecfull runtime
Returns:
undefined | string | true | SortableSet<string>result
Merges runtime condition non false.
mergeRuntimeOwned(a, b): RuntimeSpecAttributes
Merges runtime owned.
runtimeConditionToString(runtimeCondition): stringAttributes
runtimeCondition:
RuntimeConditionruntime condition
Returns:
stringreadable version
Runtime condition to string.
runtimeEqual(a, b): booleanAttributes
Returns true, when they are equal.
runtimeToString(runtime): stringAttributes
runtime:
RuntimeSpecruntime(s)
Returns:
stringreadable version
Returns readable version.
subtractRuntime(a, b): RuntimeSpecAttributes
Returns result.
subtractRuntimeCondition(a, b, runtime): RuntimeConditionAttributes
Subtract runtime condition.
Type:
undefined | string | boolean | SortableSet<string>