MAIDR JavaScript API
    Preparing search index...

    Function groupName

    • Reads the name to print next to a group's value, or null when it has none.

      BoxPoint.z is typed as a string, but not every producer fills it — the violin layers carry their group under fill and leave z undefined at runtime, which is why their data table shows a blank Group column. Reading out "326 (undefined)" is worse than reading out "326", so an unnamed group falls back to the bare value.

      The name comes back trimmed, since that is the form the blank check judges it by: padding is not part of the name, and announcing "326 ( Group 1 )" would read the padding out as a pause.

      Parameters

      • point: BoxPoint

        The group whose name is being printed.

      Returns string | null

      The trimmed name, or null when the group is unnamed or blank.