Function amdinfer::util::endsWith

Function Documentation

inline bool amdinfer::util::endsWith(std::string_view str, std::string_view suffix)

Checks if a string ends with another string.

Parameters
  • str – full string

  • suffix – suffix to check

Returns

bool true if str ends with suffix