Count the rows stored in a named table array.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_dt_row_count

Purpose

Count the rows stored in a named table array.

Arguments

  • $1 — Name of the indexed table array.

Output

Writes the count to stdout.

Returns

  • 0 after writing the row count.

Usage

  rows=("Ada|admin")
  sgnd_dt_row_count rows