MCPcopy Create free account
hub / github.com/Tencent/TscanCode / isOneNumber

Method isOneNumber

trunk/lib/tokenize.cpp:10292–10297  ·  view source on GitHub ↗

------------------------------------------------------------------------ Helper function to check whether number is one (1 or 0.1E+1 or 1E+0) or not? @param s the string to check @return true in case s is one and false otherwise. ------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

isNumberOneOfFunction · 0.85

Tested by

no test coverage detected