Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/2708660f89a968492c04ec1201812113 to your computer and use it in GitHub Desktop.
Save trycf/2708660f89a968492c04ec1201812113 to your computer and use it in GitHub Desktop.
TryCF Gist
<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