MCPcopy Create free account
hub / github.com/github/docs / toBoolean

Function toBoolean

middleware/api/search.js:245–248  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

243}
244
245function toBoolean(value) {
246 if (value === 'true' || value === '1') return true
247 return false
248}
249
250router.get(
251 '/v1',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected