A function that always returns false. Arguments are ignored. Part of Ramda Function since v0.9.0 (stable — not deprecated, experimental, or non-standard).
Note:false is a boolean; R.F is a function that returns that boolean. Pass R.F where APIs expect a predicate or callback.
Syntax
Call R.F. Start with this line.
Ramda
R.F() or pass R.F as a callback Official R.F() → false
Call
What it does
R.F() or pass R.F as a callback Official R.F() → false
Primary signature.
R.F(...)
Call the function helper.
Prefer import { f } from "ramda" when you want a named import.
Library declarations
Ramda
R.F() or pass R.F as a callback Official R.F() → false
Parameters
Parameter
Description
Any args
Optional. Ignored completely
Return Value
Return Value
Description
*
Always the boolean false
Ramda Examples
Example 1 — Official R.F()
Call the helper with no arguments — the Ramda docs sample.
Use. Handy when stubbing a branch during tests or demos.
Compatibility
Browser & Runtime Support
R.F is a Ramda Function helper since v0.9.0. It runs anywhere Ramda runs — modern browsers (CDN or bundle) and Node.js / Bun / Deno with npm install ramda.
✓ Stable · Ramda 0.9.0+
R.F()
Available in long-standing Ramda builds. Works in evergreen browsers and current Node LTS when Ramda is installed.
100%With Ramda 0.9.0+
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
BunSupported · JavaScript runtime
Supported
DenoSupported · JavaScript runtime
Supported
Node.jsSupported · Server runtime
Supported
Android WebViewSupported · Modern WebView
Full support
R.FRamda 0.9.0+
Bottom line: Safe for production once Ramda is loaded. Use a CDN build such as ramda.min.js in the browser, or install ramda from npm for Node.
Frequently Asked Questions
R.F is a function that always returns false. Any arguments you pass are ignored. The docs sample is R.F(); //=> false. Added in v0.9.0. See also R.T, which always returns true.
R.F(); //=> false. That is the whole docs sample. You can also call R.F(1, 2, 3) and still get false.
false is a boolean. R.F is a function that returns that boolean. APIs such as R.filter, R.ifElse, and R.when need a function, so you pass R.F, not the raw value false.
R.F() and R.always(false)() both return false. R.T() always returns true. Prefer R.F and R.T when the constant is a boolean; they are shorter and named for that job.
An empty array. R.filter keeps items for which the predicate is true. R.F is never true, so every item is dropped.
No. R.F is a stable Ramda function helper from v0.9.0. It is not deprecated, experimental, or non-standard.