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