MapExpRemoveByValueRelativeRankRange Method

Overload List

RemoveByValueRelativeRankRange(Exp, Exp, Exp, CTX) Create expression that removes map items nearest to value and greater by relative rank.

Examples for map [{4=2},{9=10},{5=15},{0=17}]:

  • (value,rank) = [removed items]
  • (11,1) = [{0=17}]
  • (11,-1) = [{9=10},{5=15},{0=17}]

RemoveByValueRelativeRankRange(Exp, Exp, Exp, Exp, CTX) Create expression that removes map items nearest to value and greater by relative rank with a count limit.

Examples for map [{4=2},{9=10},{5=15},{0=17}]:

  • (value,rank,count) = [removed items]
  • (11,1,1) = [{0=17}]
  • (11,-1,1) = [{9=10}]

See Also