Skip to main content

XpmActions._actionsNamesSet property

Set of all action names for quick lookup.

Signature

protected readonly _actionsNamesSet: Set<string>;

Remarks

This set provides O(1) existence checks for action names, enabling efficient validation during template expansion and duplicate detection.

Key characteristics:

  1. Known only after XpmActions.initialise() completes.
  2. Contains all action names including those generated from templates.
  3. Used to detect duplicate action names that might arise from template expansion conflicts or explicit duplicates in package.json.

This redundant storage (alongside _actionsMap) is justified by the performance benefit for name existence checks, especially in packages with many actions.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.