---
name: "LaTeXML::Core::Array"
section: "3pm"
platform: "linux"
package: "latexml"
version: "0.8.8-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/LaTeXML::Core::Array"
---

# LaTeXML::Core::Array(3pm)

support for Arrays of objects

## NAME

"LaTeXML::Core::Array" - support for Arrays of objects

## DESCRIPTION

Provides a representation of arrays  of digested objects. It extends LaTeXML::Common::Object.

### Methods

- "LaTeXML::Core::Array-\>new(%options);"

  Creates an Array object Options are\
     values  List of values; typically Tokens, initially.\
     type    The type of objects (as a ParameterType)

  The following are Tokens lists that are used for reverting to raw TeX, each can be undef\
     open      the opening delimiter eg "{"\
     close     the closing delimiter eg "}"\
     separator the separator between items, eg ","\
     itemopen  the opening delimiter for each item\
     itemclose the closing delimiter for each item

### Accessors

- "$value = $array-\>getValue($n)"

  Return the `$n`-th item in the list.

- "$array-\>setValue($n,$value)"

  Sets the `$n`-th value to `$value`.

- "@values = $keyval-\>getValues();"

  Return the list of values.

- "$keyval-\>beDigested;"

  Return a new `"LaTeXML::Core::Array"` object with all values digested as appropriate.

## AUTHOR

Bruce Miller \<bruce.miller@nist.gov\>

## COPYRIGHT

Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US.
