This is supposed to work, right? <https://trycf.c...
# adobe
t
It does in CF2021. But not CF2018.
To be clear, the docs imply that it should work down to 2016, where
ValueArray
was introduced. https://helpx.adobe.com/coldfusion/developing-applications/building-blocks-of-coldfusion-applications/using-the-member-functions.html
m
https://cfdocs.org/arraycontainsnocase "Member function only available in CF2021+"
I think the docs are unclear, the function exists down to 2016 but the MEMBER function was introduced in 21. @saghosh can you confirm here?
t
If that's the case, then it should mark that on the page I linked to, like the
*
on the 2016 functions, and the
#
on the 2018 functions. otherwise, it seems like it would work in CF11 (which it obviously wouldn't since ArayContainsNoCase didn't exist until CF2016)
👍 1
but I concede.
m
I agree. And it's even mentioned in https://helpx.adobe.com/coldfusion/cfml-reference/new-changed-functions-coldfusion-2021.html There's a lot of inconsistencies throughout the documentation. It's unfortunate that you even have to reference that separate page. The function documentation should include references to the member function as well, but I don't know if any of them do.