UNPKG

@stdlib/array

Version:
31 lines (22 loc) 551 B
{{alias}}( dtype ) Returns a signed integer typed array constructor. The function returns constructors for the following data types: - int16: signed 16-bit integers. - int32: signed 32-bit integers. - int8: signed 8-bit integers. Parameters ---------- dtype: string Data type. Returns ------- out: Function|null Typed array constructor. Examples -------- > var ctor = {{alias}}( 'int32' ) <Function> > ctor = {{alias}}( 'int' ) null See Also --------