I've noticed some params such as one in arrayEach that has a type of Closure. The Lucee docs use the type function. ACF appears to only use function as the type name (see returnType in cffunction and type in cfargument), but also refers to them as closures in some places even naming the validation function isClosure. Ultimately, I think it should be function to match the type name in ACF.
I've noticed some params such as one in
arrayEach
that has a type ofClosure
. The Lucee docs use the typefunction
. ACF appears to only usefunction
as the type name (seereturnType
incffunction
andtype
incfargument
), but also refers to them as closures in some places even naming the validation functionisClosure
. Ultimately, I think it should befunction
to match the type name in ACF.