This function retrieves an intersection between two list of element.
array-get(array1, array2)
array1
: The input array.
array2
: The second array
array-get([1, 2, 3, 4], [2, 3, 5, 6])
returns [2, 3]
array-get(["apple", "banana", "cherry"], ["cherry"])
returns "cherry"