API IsItemInRange

Returns whether the item is in usable range of the unit. inRange = IsItemInRange(item [, unit])

Arguments

 * item : string : - If using an item name, requires the item to be in your inventory. Item IDs and links don't have this requirement.
 * unit : string ? : UnitId - Defaults to "target"

Returns

 * inRange : boolean - Whether the item is in range; Returns  if there is no unit targeted or the item ID is invalid.

Example
Prints if you are within 4 yards range of the target by checking the Gin-Ji Knife Set item range. /dump IsItemInRange(90175)