just icon indicating copy to clipboard operation
just copied to clipboard

Document path_exists() as returning strings

Open cspotcode opened this issue 3 months ago • 0 comments

This follows the same convention as for the documentation of is_dependency().

This avoids confusion where a reader might assume that just supports boolean values and is returning true or false booleans which are compatible with if conditionals. The string false is considered truthy in if conditionals, which can be a surprising gotcha.

cspotcode avatar Nov 09 '25 23:11 cspotcode