Quick Links
  • -Overview
  • -Language Features
  • -JS Interop
  • -Build System
Documentation
Language Manual
Reference for all language features
ReScript & React
First class bindings for ReactJS
GenType
Seamless TypeScript integration
Reanalyze
Dead Code & Termination analysis
Exploration
Packages
Explore third party libraries and bindings
Syntax Lookup
Discover all syntax constructs
APIPlaygroundBlogCommunity
  • Playground
  • Blog
  • X
  • Bluesky
  • GitHub
  • Forum
Js Module
Overview
Js
submodules
  • Array
  • Array2
  • BigInt
  • Blob
  • Console
  • Date
  • Dict
  • Exn
  • File
  • Float
  • Global
  • Int
  • Json
    • Kind
  • Map
  • Math
  • Null
  • Null_undefined
  • Nullable
  • Obj
  • Option
  • Promise
  • Promise2
  • Re
  • Result
  • Set
  • String
  • String2
  • TypedArray2
    • DataView
    • Float64Array
    • Float32Array
    • Uint32Array
    • Int32Array
    • Uint16Array
    • Int16Array
    • Uint8ClampedArray
    • Uint8Array
    • Int8Array
    • ArrayBuffer
    Typed_array
    • DataView
    • Float64_array
    • Float64Array
    • Float32_array
    • Float32Array
    • Uint32Array
    • Int32_array
    • Int32Array
    • Uint16Array
    • Int16Array
    • Uint8ClampedArray
    • Uint8Array
    • Int8Array
    • S
    • ArrayBuffer
    • Type
  • Types
  • Undefined
  • WeakMap
  • WeakSet
  • API / Js / Typed_array / S

    S

    elt

    RESCRIPT
    type elt

    typed_array

    RESCRIPT
    type typed_array<'a>

    t

    RESCRIPT
    type t = typed_array<elt>

    unsafe_get

    RESCRIPT
    let unsafe_get: (t, int) => elt

    unsafe_set

    RESCRIPT
    let unsafe_set: (t, int, elt) => unit

    buffer

    RESCRIPT
    let buffer: t => array_buffer

    byteLength

    RESCRIPT
    let byteLength: t => int

    byteOffset

    RESCRIPT
    let byteOffset: t => int

    length

    RESCRIPT
    let length: t => int

    copyWithinFromRange

    RESCRIPT
    let copyWithinFromRange: (~to_: int, ~start: int, ~end_: int) => t

    includes

    RESCRIPT
    let includes: elt => bool

    filter

    RESCRIPT
    let filter: (elt => bool) => t

    should we use bool or boolean seems they are intechangeable here

    Types and values
    • t
      elt
    • t
      typed_array
    • t
      t
    • v
      unsafe_get
    • v
      unsafe_set
    • v
      buffer
    • v
      byteLength
    • v
      byteOffset
    • v
      length
    • v
      copyWithinFromRange
    • v
      includes
    • v
      filter

    © 2024 The ReScript Project

    Software and assets distribution powered by KeyCDN.

    About
    • Community
    • ReScript Association
    Find us on