get-any function