Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isTruthy
Function
isTruthy
packages/effect/src/Predicate.ts:458–460 ·
view source on GitHub ↗
(input: unknown)
Source
from the content-addressed store, hash-verified
456
* @since 2.0.0
457
*/
458
export
function
isTruthy(input: unknown): boolean {
459
return
!!input
460
}
461
462
/**
463
* Checks whether a value is a `Set`.
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected