http://coldfusion.com logo
#documentation
Title
# documentation
a

Adam Cameron

02/08/2022, 3:16 PM
@Mark Takata (Adobe) / @saghosh error in docs for
isDate
(https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isdate.html):
ColdFusion converts the Boolean return value to its string equivalent, "Yes" or "No."
No it doesn't. It returns a Boolean. https://trycf.com/gist/18bb71f6d4cc0d3341032aeb34a461ab/acf2021?theme=monokai That ColdFusion's boolean to string function converts a Boolean true/false to the strings "Yes" and "No" respectively is nothing to do with
isDate
, and does not belong there.
m

Mark Takata (Adobe)

02/08/2022, 4:24 PM
Nice catch Adam, thank you.
a

Adam Cameron

02/08/2022, 4:54 PM
CFMLers get confused enough about what the return value is from boolean functions without the docs making it worse 😉
m

Mark Takata (Adobe)

02/08/2022, 5:07 PM
What is truth, Adam? 🤣
a

Adam Cameron

02/08/2022, 5:41 PM
[scowl]
3 Views