Skip to content

How to access placeholder tokens? #17601

@niftylettuce

Description

@niftylettuce

Is there a simple way to return an array of tokens used as placeholder tokens (e.g. for util.format)?

https://nodejs.org/api/util.html#util_util_format_format_args

e.g. ['%s', '%d', '%i', ...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions