MCPcopy Index your code
hub / github.com/nodejs/node / B

Function B

configure.py:1291–1293  ·  view source on GitHub ↗

Returns 1 if value is truthy, 0 otherwise.

(value)

Source from the content-addressed store, hash-verified

1289 return 'true' if value else 'false'
1290
1291def B(value):
1292 """Returns 1 if value is truthy, 0 otherwise."""
1293 return 1 if value else 0
1294
1295def to_utf8(s):
1296 return s if isinstance(s, str) else s.decode("utf-8")

Callers 2

check_compilerFunction · 0.70
configure_v8Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected