Skip to main content
Version: Next

Map Has Key

Checks if an element is present in a map

Description

Determines the presence of an element corresponding to the provided input key within the specified map

Inputs

  • Control Flow (Control Flow)
  • map (Map): The map to search for the element
  • key (String): The key of the element to search for

Outputs

  • Control Flow (Control Flow)
  • has key (Boolean): Returns true if the map contains the specified key; otherwise, it returns false
  • map (Map): The map provided as the input