DocsPlaygroundBlogCommunityPackages
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPISyntax LookupReact

Syntax Lookup

Enter some language construct you want to know more about.
This is a function.

Functions are declared with arguments in parentheses, an arrow, and a return expression.

Example

ReScriptJS Output
let greet = (name: string) => {
  "Hello " ++ name
}

References

  • Function

© 2025 The ReScript Project

About
  • Community
  • ReScript Association
Find us on