package server-reason-react

  1. Overview
  2. Docs
Rendering React components on the server natively

Install

dune-project
 Dependency

Authors

Maintainers

Sources

server-reason-react-0.4.1.tbz
sha256=2d27cb4656208dde8d5eb0c452c590186d092618ac0a04f1ab0a095a3ca58498
sha512=26e16daf87f6b80eff86ccf7df29153527b24e3f4dbc7f13820d1507b0a2e7d6db40fd774bcaad6e6cccff0bf19d4a411b95a10a071f9ce92d52bf07eb08f75f

doc/server-reason-react.js/Js/String/index.html

Module Js.StringSource

JavaScript String API

Sourcetype t = string
Sourceval make : 'a -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval fromCharCode : int -> t
Sourceval fromCharCodeMany : int array -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval fromCodePoint : int -> t
Sourceval fromCodePointMany : int array -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval length : t -> int
Sourceval get : t -> int -> t
Sourceval charAt : index:int -> t -> t
Sourceval charCodeAt : index:int -> t -> float
Sourceval codePointAt : index:int -> t -> int option
Sourceval concat : other:t -> t -> t
Sourceval concatMany : strings:t array -> t -> t
Sourceval endsWith : suffix:t -> ?len:int -> t -> bool
Sourceval includes : search:t -> ?start:int -> t -> bool
Sourceval indexOf : search:t -> ?start:int -> t -> int
Sourceval lastIndexOf : search:t -> ?start:int -> t -> int
Sourceval localeCompare : other:t -> t -> float
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval match_ : regexp:Js__.Js_re.t -> t -> t option array option
Sourceval normalize : ?form:[ `NFC | `NFD | `NFKC | `NFKD ] -> t -> t

Returns the Unicode Normalization Form of a string.

Sourceval repeat : count:int -> t -> t
Sourceval replace : search:t -> replacement:t -> t -> t
Sourceval replaceByRe : regexp:Js__.Js_re.t -> replacement:t -> t -> t
Sourceval unsafeReplaceBy0 : regexp:Js__.Js_re.t -> f:(t -> int -> t -> t) -> t -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval unsafeReplaceBy1 : regexp:Js__.Js_re.t -> f:(t -> t -> int -> t -> t) -> t -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval unsafeReplaceBy2 : regexp:Js__.Js_re.t -> f:(t -> t -> t -> int -> t -> t) -> t -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval unsafeReplaceBy3 : regexp:Js__.Js_re.t -> f:(t -> t -> t -> t -> int -> t -> t) -> t -> t
  • alert not_implemented is not implemented in native under server-reason-react.js

Searches for a match in a string. Returns the index of the first match, or -1 if not found.

Sourceval slice : ?start:int -> ?end_:int -> t -> t
Sourceval split : ?sep:t -> ?limit:int -> t -> t array
Sourceval splitByRe : regexp:Js__.Js_re.t -> ?limit:int -> t -> t option array
Sourceval startsWith : prefix:t -> ?start:int -> t -> bool
Sourceval substr : ?start:int -> ?len:int -> t -> t
Sourceval substring : ?start:int -> ?end_:int -> t -> t
Sourceval toLowerCase : t -> t
Sourceval toLocaleLowerCase : t -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval toUpperCase : t -> t
Sourceval toLocaleUpperCase : t -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
Sourceval trim : t -> t
Sourceval anchor : name:t -> t -> t
  • alert not_implemented is not implemented in native under server-reason-react.js
  • alert not_implemented is not implemented in native under server-reason-react.js