sig
type elt
type 'a typed_array
type t = Js_typed_array.S.elt Js_typed_array.S.typed_array
external unsafe_get : Js_typed_array.S.t -> int -> Js_typed_array.S.elt
= "" "BS:1.7.0„•¦¾ ° B‘@ B@@@"
external unsafe_set :
Js_typed_array.S.t -> int -> Js_typed_array.S.elt -> unit = ""
"BS:1.7.0„•¦¾ ° B‘@ B B@FA"
external buffer : Js_typed_array.S.t -> Js_typed_array.array_buffer = ""
"BS:1.7.0„•¦¾ ° B‘@@@˜&buffer"
external byteLength : Js_typed_array.S.t -> int = ""
"BS:1.7.0„•¦¾ ° B‘@@@˜*byteLength"
external byteOffset : Js_typed_array.S.t -> int = ""
"BS:1.7.0„•¦¾ ° B‘@@@˜*byteOffset"
external setArray :
Js_typed_array.S.elt array -> Js_typed_array.S.t -> unit = "set"
"BS:1.7.0„•¦¾ ° @‘@ B@F•°#set@A"
external setArrayOffset :
Js_typed_array.S.elt array -> int -> Js_typed_array.S.t -> unit = "set"
"BS:1.7.0„•¦¾ ° @‘@ B B@F•°#set@A"
external length : Js_typed_array.S.t -> int = ""
"BS:1.7.0„•¦¾ ° B‘@@@˜&length"
external copyWithin : to_:int -> Js_typed_array.S.t -> Js_typed_array.S.t
= "" "BS:1.7.0„•¦¾ ! ° B #to_@ B‘@@@•°*copyWithin@A"
external copyWithinFrom :
to_:int -> from:int -> Js_typed_array.S.t -> Js_typed_array.S.t
= "copyWithin"
"BS:1.7.0„•¦¾ * - +° B #to_@ B $from@ B‘@@@•°*copyWithin@A"
external copyWithinFromRange :
to_:int ->
start:int -> end_:int -> Js_typed_array.S.t -> Js_typed_array.S.t
= "copyWithin"
"BS:1.7.0„•¦¾ 5 9 6° B #to_@ B %start@ B $end_@ B‘@@@•°*copyWithin@A"
external fillInPlace :
Js_typed_array.S.elt -> Js_typed_array.S.t -> Js_typed_array.S.t = "fill"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°$fill@A"
external fillFromInPlace :
Js_typed_array.S.elt ->
from:int -> Js_typed_array.S.t -> Js_typed_array.S.t = "fill"
"BS:1.7.0„•¦¾
' %° B‘@ B $from@ B@@•°$fill@A"
external fillRangeInPlace :
Js_typed_array.S.elt ->
start:int -> end_:int -> Js_typed_array.S.t -> Js_typed_array.S.t
= "fill"
"BS:1.7.0„•¦¾ + 3 0° B‘@ B %start@ B $end_@ B@@•°$fill@A"
external reverseInPlace : Js_typed_array.S.t -> Js_typed_array.S.t
= "reverse" "BS:1.7.0„•¦¾ ° B‘@@@•°'reverse@A"
external sortInPlace : Js_typed_array.S.t -> Js_typed_array.S.t = "sort"
"BS:1.7.0„•¦¾ ° B‘@@@•°$sort@A"
external sortInPlaceWith :
(Js_typed_array.S.elt -> Js_typed_array.S.elt -> int [@bs]) ->
Js_typed_array.S.t -> Js_typed_array.S.t = "sort"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°$sort@A"
external includes :
Js_typed_array.S.elt -> Js_typed_array.S.t -> Js.boolean = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°(includes@A"
external indexOf : Js_typed_array.S.elt -> Js_typed_array.S.t -> int = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°'indexOf@A"
external indexOfFrom :
Js_typed_array.S.elt -> from:int -> Js_typed_array.S.t -> int = "indexOf"
"BS:1.7.0„•¦¾ #
' %° B‘@ B $from@ B@@•°'indexOf@A"
external join : Js_typed_array.S.t -> string = ""
"BS:1.7.0„•¦¾ ° B‘@@@•°$join@A"
external joinWith : string -> Js_typed_array.S.t -> string = "join"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°$join@A"
external lastIndexOf : Js_typed_array.S.elt -> Js_typed_array.S.t -> int
= "" "BS:1.7.0„•¦¾ ° B‘@ B@@•°+lastIndexOf@A"
external lastIndexOfFrom :
Js_typed_array.S.elt -> from:int -> Js_typed_array.S.t -> int
= "lastIndexOf"
"BS:1.7.0„•¦¾ '
( &° B‘@ B $from@ B@@•°+lastIndexOf@A"
external slice :
start:int -> end_:int -> Js_typed_array.S.t -> Js_typed_array.S.t = ""
"BS:1.7.0„•¦¾ ' - *° B %start@ B $end_@ B‘@@@•°%slice@A"
external copy : Js_typed_array.S.t -> Js_typed_array.S.t = "slice"
"BS:1.7.0„•¦¾ ° B‘@@@•°%slice@A"
external sliceFrom : int -> Js_typed_array.S.t -> Js_typed_array.S.t
= "slice" "BS:1.7.0„•¦¾ ° B‘@ B@@•°%slice@A"
external toString : Js_typed_array.S.t -> string = ""
"BS:1.7.0„•¦¾ ° B‘@@@•°(toString@A"
external toLocaleString : Js_typed_array.S.t -> string = ""
"BS:1.7.0„•¦¾ ° B‘@@@•°.toLocaleString@A"
external every :
(Js_typed_array.S.elt -> Js.boolean [@bs]) ->
Js_typed_array.S.t -> Js.boolean = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°%every@A"
external everyi :
(Js_typed_array.S.elt -> int -> Js.boolean [@bs]) ->
Js_typed_array.S.t -> Js.boolean = "every"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°%every@A"
external filter :
(Js_typed_array.S.elt -> bool [@bs]) ->
Js_typed_array.S.t -> Js_typed_array.S.t = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°&filter@A"
external filteri :
(Js_typed_array.S.elt -> int -> Js.boolean [@bs]) ->
Js_typed_array.S.t -> Js_typed_array.S.t = "filter"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°&filter@A"
external find :
(Js_typed_array.S.elt -> bool [@bs]) ->
Js_typed_array.S.t -> Js_typed_array.S.elt Js.undefined = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°$find@A"
external findi :
(Js_typed_array.S.elt -> int -> bool [@bs]) ->
Js_typed_array.S.t -> Js_typed_array.S.elt Js.undefined = "find"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°$find@A"
external findIndex :
(Js_typed_array.S.elt -> bool [@bs]) -> Js_typed_array.S.t -> int = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°)findIndex@A"
external findIndexi :
(Js_typed_array.S.elt -> int -> bool [@bs]) -> Js_typed_array.S.t -> int
= "findIndex" "BS:1.7.0„•¦¾ ° B‘@ B@@•°)findIndex@A"
external forEach :
(Js_typed_array.S.elt -> unit [@bs]) -> Js_typed_array.S.t -> unit = ""
"BS:1.7.0„•¦¾ ° B‘@ B@F•°'forEach@A"
external forEachi :
(Js_typed_array.S.elt -> int -> unit [@bs]) -> Js_typed_array.S.t -> unit
= "forEach" "BS:1.7.0„•¦¾ ° B‘@ B@F•°'forEach@A"
external map :
(Js_typed_array.S.elt -> 'b [@bs]) ->
Js_typed_array.S.t -> 'b Js_typed_array.S.typed_array = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°#map@A"
external mapi :
(Js_typed_array.S.elt -> int -> 'b [@bs]) ->
Js_typed_array.S.t -> 'b Js_typed_array.S.typed_array = "map"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°#map@A"
external reduce :
('b -> Js_typed_array.S.elt -> 'b [@bs]) ->
'b -> Js_typed_array.S.t -> 'b = ""
"BS:1.7.0„•¦¾ ! ° B‘@ B B@@•°&reduce@A"
external reducei :
('b -> Js_typed_array.S.elt -> int -> 'b [@bs]) ->
'b -> Js_typed_array.S.t -> 'b = "reduce"
"BS:1.7.0„•¦¾ ! ° B‘@ B B@@•°&reduce@A"
external reduceRight :
('b -> Js_typed_array.S.elt -> 'b [@bs]) ->
'b -> Js_typed_array.S.t -> 'b = ""
"BS:1.7.0„•¦¾ " " !° B‘@ B B@@•°+reduceRight@A"
external reduceRighti :
('b -> Js_typed_array.S.elt -> int -> 'b [@bs]) ->
'b -> Js_typed_array.S.t -> 'b = "reduceRight"
"BS:1.7.0„•¦¾ " " !° B‘@ B B@@•°+reduceRight@A"
external some :
(Js_typed_array.S.elt -> Js.boolean [@bs]) ->
Js_typed_array.S.t -> Js.boolean = ""
"BS:1.7.0„•¦¾ ° B‘@ B@@•°$some@A"
external somei :
(Js_typed_array.S.elt -> int -> Js.boolean [@bs]) ->
Js_typed_array.S.t -> Js.boolean = "some"
"BS:1.7.0„•¦¾ ° B‘@ B@@•°$some@A"
end