# File lib/sass/script/functions.rb, line 1393 def index(list, value) assert_type list, :List index = list.value.index {|e| e.eq(value).to_bool } if index Number.new(index + 1) else Bool.new(false) end end