Skip to contents

Returns true if the lists have any element in common. NULLs are ignored.

Usage

list_has_any(list1, list2)

Arguments

list1, list2

T[]

Value

BOOLEAN

SQL examples

list_has_any([1, 2, 3], [2, 3, 4])