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?
optional
count:number
The specific number of matching indices from a list.
maxLength?
optional
maxLength:number
The maximum number of comparisons to make between the element and the items in the list.
rank?
optional
rank:number
The rank of the match to return.