repl.txt (646B)
1 2 {{alias}}( value ) 3 Tests if an input value is a supported ndarray casting mode. 4 5 Parameters 6 ---------- 7 value: any 8 Value to test. 9 10 Returns 11 ------- 12 bool: boolean 13 Boolean indicating if an input value is a supported ndarray casting 14 mode. 15 16 Examples 17 -------- 18 > var bool = {{alias}}( 'none' ) 19 true 20 > bool = {{alias}}( 'equiv' ) 21 true 22 > bool = {{alias}}( 'safe' ) 23 true 24 > bool = {{alias}}( 'same-kind' ) 25 true 26 > bool = {{alias}}( 'unsafe' ) 27 true 28 > bool = {{alias}}( '' ) 29 false 30 > bool = {{alias}}( 'beep' ) 31 false 32 33 See Also 34 -------- 35