Standard.BaseDataRangecontainsOn this pageRange.contains containsvalue Group: Logical Documentation Checks if the range contains the specified value. Examples Check if an index is in the range of a Vector vec = ["A", "B", "C", "D", "E"] 0.up_to vec.length . contains 3