Template Function rsl::unique
Defined in File parameter_validators.hpp
Function Documentation
-
template<typename T>
auto rsl::unique(rclcpp::Parameter const ¶meter) -> tl::expected<void, std::string> Is every element of rclcpp::Parameter unique?
- Template Parameters:
T – Interior type of array; e.g. for parameter type double_array, T = double
- Pre:
rclcpp::Parameter must be an array type
- Returns:
Help string if the parameter is invalid, otherwise void