LaTeXM...:Array(3pm)

πŸ’– NAME πŸ’–

okay so bestie, this is the LaTeXM...:Array(3pm) page from the User Contributed Perl Documentation, and its NAME is "LaTeXML::Core::Array" - support for Arrays of objects. slay. 🫢

✨ DESCRIPTION ✨

okay so it literally provides a representation of arrays of digested objects β€” yes, digested objects, bestie. It extends LaTeXML::Common::Object, and that's the vibe check passed. πŸ¦‹

πŸ› οΈ Methods πŸ› οΈ

"LaTeXML::Core::Array->new(%options);" β€” Creates an Array object β€” main character energy. 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, so don't come for me if they're undefined. πŸ™ˆ

  • 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)" β€” returns the $n-th item in the list. iykyk.
  • "$array->setValue($n,$value)" β€” sets the $n-th value to $value.
  • "@values = $keyval->getValues();" β€” returns the list of values.
  • "$keyval->beDigested;" β€” returns a new "LaTeXML::Core::Array" object with all values digested as appropriate.

πŸ‘‘ AUTHOR πŸ‘‘

the icon himself, Bruce Miller <bruce.miller@nist.gov> β€” periodt. πŸ‘‘

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

fr fr, it's giving public domain realness. no copyright drama here, bestie. πŸ’…


that's the whole vibe! this page is from perl v5.40.1 on 2025-11-16, and the manual is LaTeXM...:Array(3pm) from the User Contributed Perl Documentation. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from