Files
geroldmeisinger-ComfyUI-out…/web/docs/NumberOutputList.md

1.4 KiB

Number OutputList

Number OutputList

(ComfyUI workflow included)

Creates an OutputList with a range of numeric values. Uses numpy.linspace internally, because it works more reliably with floating-point values. If you want to define number lists with arbitrary steps instead check out the JSON OutputList and define an array, e.g. [1, 42, 123]. int, float, string and index use(s) is_output_list=True (indicated by the symbol 𝌠) and will be processed sequentially by corresponding nodes.

Inputs

Name Type Description
start FLOAT Start value to generate the range from.
stop FLOAT End value. If endpoint=include then this number is included in the list.
num INT The number of items in the list (don't confuse it with a step).
endpoint BOOLEAN Decides if the stop value should be included or excluded in the items.

Outputs

Name Type Description
int INT 𝌠 The value converted to int (rounded down/floored).
float FLOAT 𝌠 The value as a float.
string STRING 𝌠 The value as a float converted to string.
index INT 𝌠 Range of 0..count which can be used as an index.
count INT Same as num.