Created
March 20, 2023 14:52
-
-
Save trycf/2708660f89a968492c04ec1201812113 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
arrayDept = [{"id" : 1, "title" : "test 1"}, {"id" : 2, "title" : "test 2"}]; | |
arrayGroup = [{"id" : 2, "title" : "test 2"}, {"id" : 3, "title" : "test 3"}]; | |
// arrayDept.append(arrayGroup, true); | |
loop array=arrayGroup index="variables.index" { | |
if (arrayDept.find(function(dept) {})) { | |
} | |
} | |
dump(arrayDept); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment