23 lines
801 B
Haxe
23 lines
801 B
Haxe
package js.lib;
|
|
|
|
typedef Int32ArrayConstructor = {
|
|
final prototype : js.lib.Int32Array;
|
|
/**
|
|
The size in bytes of each element in the array.
|
|
**/
|
|
final BYTES_PER_ELEMENT : Float;
|
|
/**
|
|
Returns a new array from a set of elements.
|
|
**/
|
|
function of(items:haxe.extern.Rest<Float>):js.lib.Int32Array;
|
|
/**
|
|
Creates an array from an array-like or iterable object.
|
|
|
|
Creates an array from an array-like or iterable object.
|
|
|
|
Creates an array from an array-like or iterable object.
|
|
**/
|
|
@:overload(function<T>(arrayLike:ArrayLike<T>, mapfn:(v:T, k:Float) -> Float, ?thisArg:Dynamic):js.lib.Int32Array { })
|
|
@:overload(function(arrayLike:Iterable<Float>, ?mapfn:(v:Float, k:Float) -> Float, ?thisArg:Dynamic):js.lib.Int32Array { })
|
|
function from(arrayLike:ArrayLike<Float>):js.lib.Int32Array;
|
|
}; |