Template Function ros2_control::has_item

Function Documentation

template<typename Container, typename T>
bool ros2_control::has_item(const Container &container, const T &item)

Check if the item is in the container.

Parameters:
  • container – The container to search in.

  • item – The item to search for.

Returns:

True if the item is in the container, false otherwise.