tracker issue : CF-4202695

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

[ANeff] ER for: IsValidArray()

| View in Tracker

Status/Resolution/Reason: Needs Review//

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

Created: 06/02/2018

Components: Language, Functions

Versions: 13.0

Failure Type: Others

Found In Build/Fixed In Build: /

Priority/Frequency: Normal /

Locale/System: /

Vote Count: 0

ER for: IsValidArray()

Same as IsValid(), but checks an _array_ of values.

Ex: isValidArray("regex", myArray, "pattern") returns true if myArray is an array and all elements are "pattern"

Ex: isValidArray("string[]", myArray) returns true if myArray is an array and all elements are string[]

Attachments:

Comments:

Question: If myArray isn't an array, should 1) exception throw or 2) isValidArray() returns false? Thanks!, -Aaron
Comment by Aaron N.
28976 | June 02, 2018 06:28:22 AM GMT
And, of course, I mean coldfusion.runtime.Array (not byte[]) =P
Comment by Aaron N.
28977 | June 02, 2018 06:31:37 AM GMT