MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / write_boolean

Function write_boolean

lite/example/cpp_example/npy.h:329–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329inline std::string write_boolean(bool b) {
330 if (b)
331 return "True";
332 else
333 return "False";
334}
335
336} // namespace pyparse
337

Callers 1

write_header_dictFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected