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 the ignore() function.

The ignore() function discards the value of its argument and returns ().

Examples

ReScriptJS Output
mySideEffect()->Promise.catch(handleError)->ignore

setTimeout(myFunc, 1000)->ignore

References

  • The ignore() function

© 2025 The ReScript Project

About
  • Community
  • ReScript Association
Find us on