repl.txt (539B)
1 2 {{alias}}( dtype ) 3 Returns the number of bytes per element provided an underlying array data 4 type. 5 6 If provided an unknown/unsupported data type, the function returns `null`. 7 8 Parameters 9 ---------- 10 dtype: string 11 Data type. 12 13 Returns 14 ------- 15 nbytes: integer|null 16 Number of bytes per element. 17 18 Examples 19 -------- 20 > var nbytes = {{alias}}( 'float64' ) 21 8 22 > nbytes = {{alias}}( 'generic' ) 23 null 24 > nbytes = {{alias}}( 'foobar' ) 25 null 26 27 See Also 28 -------- 29