MCPcopy Create free account
hub / github.com/babel/babel / bool

Function bool

Gulpfile.ts:60–62  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

58
59// env vars from the cli are always strings, so !!ENV_VAR returns true for "false"
60function bool(value: string | undefined): boolean {
61 return Boolean(value) && value !== "false" && value !== "0";
62}
63
64/**
65 * map source code path to the generated artifacts path

Callers 1

buildRollupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected