MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / is_digits

Function is_digits

include/libnpy/npy.hpp:155–157  ·  view source on GitHub ↗

helpers

Source from the content-addressed store, hash-verified

153
154// helpers
155inline bool is_digits(const std::string &str) {
156 return std::all_of(str.begin(), str.end(), ::isdigit);
157}
158
159template<typename T, size_t N>
160inline bool in_array(T val, const std::array <T, N> &arr) {

Callers 1

parse_descrFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected