Junior — Senior
Determining if an array or object is empty
livecode
Task condition
Create a function that takes either an array or an object as an argument. If the argument is an array and contains no elements, the function should return the string "Empty array contains no elements". If the argument is an object with no key-value pairs, the function should return the string "Empty object contains no key-value pairs".