17 if (
text ==
nullptr || *
text ==
'\0' ||
18 std::isspace(
static_cast<unsigned char>(*
text)))
return false;
23 parsed <
static_cast<long long>(std::numeric_limits<int64_t>::min()) ||
24 parsed >
static_cast<long long>(std::numeric_limits<int64_t>::max()))
return false;
31 if (
text ==
nullptr || *
text ==
'\0' ||
32 std::isspace(
static_cast<unsigned char>(*
text)))
return false;
37 !std::isfinite(
parsed))
return false;
const char * NostrString_toChars(const std::string &str)
Definition NostrString.cpp:188
#define NostrString
Definition NostrString.h:10
bool parseFloatStrict(const NostrString &value, double &out)
Definition NostrNumeric.h:29
bool parseIntegerStrict(const NostrString &value, int64_t &out)
Definition NostrNumeric.h:15
Definition CryptoLock.h:6