array_contains {SparkR} | R Documentation |
Returns true if the array contain the value.
array_contains(x, value) ## S4 method for signature 'Column' array_contains(x, value)
x |
A Column |
value |
A value to be checked if contained in the column |
Other collection_funcs: explode
,
size
, sort_array
## Not run: array_contains(df$c, 1)