Home  Contents

table.compare

Table Core4 Lua Commands

SYNOPSIS

flag = table.compare(t1, t2)

DESCRIPTION

Compares the contents of both tables. If there are tables nested within, the nested tables are compared, too.

RETURN VALUE

Returns true if all items compare true.

NOTES

This function does a recursive linear walk over all values.