time-to-botec

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

repl.txt (1464B)


      1 
      2 {{alias}}( value )
      3     Tests if a value is a composite number.
      4 
      5     Parameters
      6     ----------
      7     value: any
      8         Value to test.
      9 
     10     Returns
     11     -------
     12     bool: boolean
     13         Boolean indicating whether value is a composite number.
     14 
     15     Examples
     16     --------
     17     > var bool = {{alias}}( 4.0 )
     18     true
     19     > bool = {{alias}}( new Number( 4.0 ) )
     20     true
     21     > bool = {{alias}}( 3.14 )
     22     false
     23     > bool = {{alias}}( -4.0 )
     24     false
     25     > bool = {{alias}}( null )
     26     false
     27 
     28 
     29 {{alias}}.isPrimitive( value )
     30     Tests if a value is a number primitive which is a composite number.
     31 
     32     Parameters
     33     ----------
     34     value: any
     35         Value to test.
     36 
     37     Returns
     38     -------
     39     bool: boolean
     40         Boolean indicating whether value is a number primitive which is a
     41         composite number.
     42 
     43     Examples
     44     --------
     45     > var bool = {{alias}}.isPrimitive( 4.0 )
     46     true
     47     > bool = {{alias}}.isPrimitive( new Number( 4.0 ) )
     48     false
     49 
     50 
     51 {{alias}}.isObject( value )
     52     Tests if a value is a number object having a value which is a composite
     53     number.
     54 
     55     Parameters
     56     ----------
     57     value: any
     58         Value to test.
     59 
     60     Returns
     61     -------
     62     bool: boolean
     63         Boolean indicating whether value is a number object having a value which
     64         is a composite number.
     65 
     66     Examples
     67     --------
     68     > var bool = {{alias}}.isObject( 4.0 )
     69     false
     70     > bool = {{alias}}.isObject( new Number( 4.0 ) )
     71     true
     72 
     73 
     74     See Also
     75     --------
     76