repl.txt (967B)
1 2 {{alias}}( value ) 3 Tests if a value is a 1-dimensional ndarray-like object containing double- 4 precision floating-point numbers. 5 6 Parameters 7 ---------- 8 value: any 9 Value to test. 10 11 Returns 12 ------- 13 bool: boolean 14 Boolean indicating whether a value is a 1-dimensional ndarray-like 15 object containing double-precision floating-point numbers. 16 17 Examples 18 -------- 19 > var M = {}; 20 > M.data = new {{alias:@stdlib/array/float64}}( [ 0, 0, 0, 0 ] ); 21 > M.ndims = 1; 22 > M.shape = [ 4 ]; 23 > M.strides = [ 1 ]; 24 > M.offset = 0; 25 > M.order = 'row-major'; 26 > M.dtype = 'float64'; 27 > M.length = 4; 28 > M.flags = {}; 29 > M.get = function get( i, j ) {}; 30 > M.set = function set( i, j ) {}; 31 > var bool = {{alias}}( M ) 32 true 33 > bool = {{alias}}( [ 1, 2, 3, 4 ] ) 34 false 35 > bool = {{alias}}( 3.14 ) 36 false 37 > bool = {{alias}}( {} ) 38 false 39 40 See Also 41 -------- 42