Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sea.wow.tooltip.compareTooltipScan

From WoW Classic Wiki

This article is a part of the documentation of the Sea function library

Note:

if a parameter is a string instead of a table, then the string will be used as the basis for a tooltip scan.

-- 
-- compareTooltipScan(scanTable left, scanTable right)
--
-- 	compares the results of two tooltip scans
--
-- Args:
-- 	left - the result of a scan or string (implies tooltip base to scan)
-- 	right - the result of a scan or string (implies tooltip base to scan)
-- 	      or nil (implies gametooltip)
--
-- Returns:
-- 	(boolean, number)
-- 	boolean, - true if equal
-- 	0 if equals, -1 if left is less, 1 if right is less
--