Skip to content

Add \property_item:nnn #2018

@mbertucci47

Description

@mbertucci47

Brief outline of the enhancement

I commented on this in #1194 but making a new issue here so it doesn't get lost. Recently added was \property_item:nn which mirrors the syntax of \property_ref:nn but returns the value in an \exp_not:n. However, \property_item:nnn mirroring \property_ref:nnn with the third argument being a local default was not added. zref offers \zref@extractdefault which returns either the reference or the default in exactly two expansions (same as \zref@extract). For the same reasons discussed in #1194, I think it makes sense to also offer the local-default-version of \property_item:nn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions