allows empty array as condition parameter