pub fn truthy(v: &Value) -> boolExpand description
Whether a condition holds. NULL does not; text, which reaches a condition only as an unknown literal or parameter, holds when boolin reads it as true (parse analysis rejects any other text); the engine’s numeric retrieval predicates hold when non-zero.