time-to-botec

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

repl.txt (586B)


      1 
      2 {{alias}}( value )
      3     Tests if a value is a JavaScript boxed primitive.
      4 
      5     Boxed primitive objects can be created with one of the following:
      6 
      7     - new Boolean()
      8     - new Number()
      9     - new String()
     10     - Object( Symbol() ) (ES6/ES2015)
     11 
     12     Parameters
     13     ----------
     14     value: any
     15         Value to test.
     16 
     17     Returns
     18     -------
     19     bool: boolean
     20         Boolean indicating whether a value is a JavaScript boxed primitive.
     21 
     22     Examples
     23     --------
     24     > var bool = {{alias}}( new Boolean( false ) )
     25     true
     26     > bool = {{alias}}( true )
     27     false
     28 
     29     See Also
     30     --------
     31