in

open fun in(@NonNull needle: Expression, @NonNull haystack: Expression): Expression(source)
open fun in(@NonNull needle: Number, @NonNull haystack: Expression): Expression(source)
open fun in(@NonNull needle: String, @NonNull haystack: Expression): Expression(source)

Retrieves whether an item exists in an array or a substring exists in a string.

Return

true if exists.

Parameters

needle

the item expression

haystack

the array or string expression

See also