Files
kiss-flixel/feedback-server/externs/js/lib/Float32ArrayConstructor.hx

23 lines
813 B
Haxe

package js.lib;
typedef Float32ArrayConstructor = {
final prototype : js.lib.Float32Array;
/**
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.Float32Array;
/**
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.Float32Array { })
@:overload(function(arrayLike:Iterable<Float>, ?mapfn:(v:Float, k:Float) -> Float, ?thisArg:Dynamic):js.lib.Float32Array { })
function from(arrayLike:ArrayLike<Float>):js.lib.Float32Array;
};