Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cucumber/cucumber-js
/ doesHaveValue
Function
doesHaveValue
src/value_checker.ts:1–3 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
1
export
function
doesHaveValue<T>(value: T): boolean {
2
return
!doesNotHaveValue(value)
3
}
4
5
export
function
doesNotHaveValue<T>(value: T): boolean {
6
return
value === null || value === undefined
Callers
15
cli_steps.ts
File · 0.90
parseEnvString
Method · 0.90
normalizeJsonOutput
Function · 0.90
getTestStepResults
Function · 0.90
getAcceptedPickle
Function · 0.90
getGherkinDocument
Function · 0.90
getTestCase
Function · 0.90
getTestCaseStarted
Function · 0.90
getTestStepAttachments
Function · 0.90
hooks.ts
File · 0.90
parse
Function · 0.90
buildSupportCodeLibrary
Function · 0.90
Calls
1
doesNotHaveValue
Function · 0.85
Tested by
no test coverage detected