Module lua-nucleo.tdeepequals
Test arbitrary lua tables for equality.
This file is a part of lua-nucleo library
Info:
- Copyright: lua-nucleo authors (see file
COPYRIGHT
for the license)
Functions
tdeepequals (t1, t2) | tdeepequals |
tless (lhs, rhs) | tless |
less_kv (lhs, rhs) | less_kv |
tless_kv (lhs, rhs) | tless_kv |
tsort_kv (t, less) | tsort_kv WARNING: Slow! |
ordered_pairs (t) | Create iterator for table t that traverses keys in alphabetical order. |
Functions
- tdeepequals (t1, t2)
-
tdeepequals
Parameters:
- t1
- t2
- tless (lhs, rhs)
-
tless
Parameters:
- lhs
- rhs
- less_kv (lhs, rhs)
-
less_kv
Parameters:
- lhs
- rhs
- tless_kv (lhs, rhs)
-
tless_kv
Parameters:
- lhs
- rhs
- tsort_kv (t, less)
-
tsort_kv
WARNING: Slow!
Parameters:
- t
- less
- ordered_pairs (t)
-
Create iterator for table
t
that traverses keys in alphabetical order.Parameters:
- t table Table to traverse.
Returns:
-
Iterator.