Redis Advanced icon

Redis Advanced

Get, send and update data in Redis with enhanced operations

Set Is Member

AI-generated

Summary

Check whether a specified member is part of a given Redis set and return the membership status.

Inputs

  • Set (required) — The name of the Redis set to check in.
  • Member (required) — The member value to check for membership in the set.
  • JSON Set (required) — Name of the JSON set, used when operation applies to JSON sets (not applicable for 'sismember')
  • Value Is JSON — Indicates if the value is JSON or key value pairs; relevant when key type is 'hash', but not specifically for 'Set Is Member' operation.

Output shape

a list with one item per input item, each containing JSON with the set name, member checked, and boolean 'isMember' indicating membership

The output JSON includes fields: 'set' (the set name), 'member' (the member checked), and 'isMember' (true if the member is in the set, false otherwise). Errors during execution will throw unless 'Continue On Fail' is enabled, in which case error information is included in the output.

Discussion