Hello everyone,
Can someone point me to location of this function until() which is used as follow  while until(s, t0, n, model)  ....something....   end in agents.jl.  I want to check the original function. I was looking on github but was unsuccessful  :(.
Thank you 
             
            
               
               
               
            
            
           
          
            
            
              
  
  
    
    
      
          function CommonSolve.step!(model::AgentBasedModel, args...) 
              error("`step!` not implemented yet for model of type $(typeof(model)).") 
              return model 
          end 
           
          # Generic functions that are used in the stepping of all types of models 
          # this one is a type dispatch for whether the model is "unremovable" or not 
          agent_not_removed(id, model::DictABM) = hasid(model, id) 
          agent_not_removed(::Int, ::VecABM) = true 
          # this one just checks until when we should step in a `while` loop 
          until(t1, t0, n::Real, ::ABM) = t1 < t0+n 
          until(t1, t0, f, model::ABM) = !f(model, t1-t0) 
       
     
   
  
    
    
  
  
 
indeed, it was hard to find it by searching until, but searching until( gave this as first result 
You can also use the @edit macro, but you need to know the input arguments.
             
            
               
               
              1 Like 
            
            
           
          
            
            
              
You could also type methods(until) to see a list of methods and where they are defined.
             
            
               
               
              3 Likes