MCPcopy
hub / github.com/imbrn/v8n / optional.js

File optional.js

src/rules/optional.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const consideredEmpty = (value, considerTrimmedEmptyString) => {
2 if (
3 considerTrimmedEmptyString &&
4 typeof value === 'string' &&

Callers

nothing calls this directly

Calls 3

consideredEmptyFunction · 0.85
checkMethod · 0.65
testAsyncMethod · 0.65

Tested by

no test coverage detected