Nodes/ComfyUI-RyuuNoodles/test Is Multiple Of x Check 🐲
ComfyUI Node

test Is Multiple Of x Check 🐲

Simple node to check if an input number and/or the optional second number is a multiple of the specified 'multiple' value. Outputs Booleans. If number_b is not given, will output None.

By DraconicDragonΒ·Created about a year agoΒ·Updated about a month agoΒ· 11
test Is Multiple Of x Check 🐲
  • number_a
  • number_b
  • is_a_multiple_of
  • is_b_multiple_of
β—„multiple64β–Ί
β—„error_if_b_nonefalseβ–Ί
β—„false_instead_nonefalseβ–Ί
CategoryRyuuNoodles 🐲/Numbers

Inputs (5)

NameTypeDefaultDescription
number_a*The number to check if it is a multiple of the 'multiple' value. Required input.
multipleINT64β€”
error_if_b_noneBOOLEANfalseIf True, will raise an error if number_b is None.
false_instead_noneBOOLEANfalseIf True, will output False instead of None if number_b is None. This does not bypass the error_if_b_none option.
number_bopt*Optional second number to check if it is also a multiple of the same value.

Outputs (2)

NameTypeDescription
is_a_multiple_ofBOOLEANβ€”
is_b_multiple_ofBOOLEANβ€”