query
On this page

add

builtins.add

Primop
Docs pulled from | This Revision | 9 minutes ago

Takes 2 arguments

e1, e2


Return the sum of the numbers e1 and e2.

This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.

Noogle detected

Aliases

Detected Type
add :: Number -> Number -> Number

Implementation

This function is implemented in c++ and is part of the native nix runtime.