Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected table properties

...

  • $table.keys.list: Yields a list of all keys in the table (reliably sorted by key if all keys are numeric)
  • $table.keys.sorted: Yields a sorted list of all keys in the table, sorted by their associated values (which requires that all keys values are numeric)
  • $table.keys.random: A randomly chosen key (which requires that the table is non-empty)

...