tracker issue : CF-4198461

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Doc Bug for: IsValid("any", ..)

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff ()

Created: 03/31/2017

Components: Documentation, General

Versions: 2016

Failure Type: Conflict With Docs

Found In Build/Fixed In Build: 2016.0.01.298513 / Docs

Priority/Frequency: Normal / Very few users will encounter

Locale/System: / Platforms All

Vote Count: 0

Description for IsValid("any", ..) says:
--------------------------------------------
any: any simple value. Returns false for complex values, such as query objects;; equivalent to the IsSimpleValue function.
--------------------------------------------

That is incorrect. IsValid("any", ..) also returns true for complex values, such as array, struct, query and CFC instance. Confirmed in CF10, CF11 and CF2016.

Suggested revision:
--------------------------------------------
any: any simple or complex value. Always returns true.
--------------------------------------------

Related URL: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isvalid.html

Attachments:

Comments:

Or just un-document "any", since it's pointless?
Comment by Aaron N.
978 | March 31, 2017 02:11:35 AM GMT
Hi Adobe, I've verified this is fixed. "any" has been undocumented. Thanks!, -Aaron
Comment by Aaron N.
979 | June 09, 2017 10:53:24 PM GMT