Home / node / Commands / interfaces / LPosOptions @valkey/valkey-glide
@valkey/valkey-glide / Commands / LPosOptions
Interface: LPosOptions
Optional arguments to LPOS command.
See https://valkey.io/commands/lpos/ for more details.
Properties
count?
optionalcount:number
The specific number of matching indices from a list.
maxLength?
optionalmaxLength:number
The maximum number of comparisons to make between the element and the items in the list.
rank?
optionalrank:number
The rank of the match to return.