Function utils::stringArrayContents

Function Documentation

inline auto utils::stringArrayContents(const toml::array *arr) -> std::vector<std::string>

Get the string contents of a toml array, ignoring any non-string entries.

Parameters:

arr – Pointer to the array, as returned by node_view::as_array(); may be nullptr

Returns:

The array’s string entries, in order