array_contains {SparkR}R Documentation

array_contains

Description

Returns true if the array contain the value.

Usage

## S4 method for signature 'Column'
array_contains(x, value)

array_contains(x, value)

Arguments

x

A Column

value

A value to be checked if contained in the column

See Also

Other collection_funcs: explode, explode; size, size; sort_array, sort_array

Examples

## Not run: array_contains(df$c, 1)

[Package SparkR version 1.6.0 Index]