array_contains {SparkR} | R Documentation |
Returns null if the array is null, true if the array contains the value, and false otherwise.
## S4 method for signature 'Column' array_contains(x, value) array_contains(x, value)
x |
A Column |
value |
A value to be checked if contained in the column |
array_contains since 1.6.0
Other collection_funcs: explode
,
explode
,
explode,Column-method
;
posexplode
, posexplode
,
posexplode,Column-method
;
size
, size
,
size,Column-method
;
sort_array
, sort_array
,
sort_array,Column-method
## Not run: array_contains(df$c, 1)