time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (528B)


      1 
      2 {{alias}}( value )
      3     Tests if an object-like value contains a circular reference.
      4 
      5     Parameters
      6     ----------
      7     value: any
      8         Value to test.
      9 
     10     Returns
     11     -------
     12     bool: boolean
     13         Boolean indicating whether an object-like value contains a circular
     14         reference.
     15 
     16     Examples
     17     --------
     18     > var obj = { 'beep': 'boop' };
     19     > obj.self = obj;
     20     > var bool = {{alias}}( obj )
     21     true
     22     > bool = {{alias}}( {} )
     23     false
     24     > bool = {{alias}}( null )
     25     false
     26 
     27     See Also
     28     --------
     29