time-to-botec

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

repl.txt (572B)


      1 
      2 {{alias}}( value )
      3     Tests if a value is a valid array length.
      4 
      5     A valid length property for an Array instance is any integer value on the
      6     interval [0, 2^32-1].
      7 
      8     Parameters
      9     ----------
     10     value: any
     11         Value to test.
     12 
     13     Returns
     14     -------
     15     bool: boolean
     16         Boolean indicating whether value is a valid array length.
     17 
     18     Examples
     19     --------
     20     > var bool = {{alias}}( 5 )
     21     true
     22     > bool = {{alias}}( 2.0e200 )
     23     false
     24     > bool = {{alias}}( -3.14 )
     25     false
     26     > bool = {{alias}}( null )
     27     false
     28 
     29     See Also
     30     --------
     31