Skip to main content

boolean_check

Checks if a value is truthy by ensuring it is not False, None, or an empty string.

def boolean_check(
v: any
) - > boolean

Evaluates whether a value is considered truthy by checking that it is not False, None, or an empty string.

Parameters

NameTypeDescription
vanyThe value to be evaluated for truthiness against specific exclusion criteria.

Returns

TypeDescription
booleanTrue if the value is not False, None, or an empty string; otherwise False.