Nodes/ComfyUi-MpiNodes/Mpi Compare Packs
ComfyUI Node

Mpi Compare Packs

Compare two packs slot by slot. Outputs equal (true only if every slot matches) and first_diff, the 1-based slot of the first mismatch (0 when equal). Images and other tensors compare by content, and nested packs compare all the way down.

By MadPonyInteractive·Created 10 months ago·Updated 3 days ago· 2
Mpi Compare Packs
  • a
  • b
  • equal
  • first_diff
CategoryMpiNodes/Logic

Inputs (2)

NameTypeDefaultDescription
aMPI_PACK
bMPI_PACK

Outputs (2)

NameTypeDescription
equalBOOLEAN
first_diffINT