time-to-botec

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

repl.txt (1606B)


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