1 #ifndef STAN_LANG_AST_FUN_HAS_CDF_SUFFIX_DEF_HPP 2 #define STAN_LANG_AST_FUN_HAS_CDF_SUFFIX_DEF_HPP bool has_cdf_suffix(const std::string &name)
Return true if the specified function name has a suffix indicating it is a CDF.
Probability, optimization and sampling library.
bool ends_with(const std::string &suffix, const std::string &s)
Returns true if the specified suffix appears at the end of the specified string.