intersectAttrs
builtins.intersectAttrs
Primop
Docs pulled from | This Revision | 6 days ago
Takes 2 arguments
e1, e2
Return a set consisting of the attributes in the set e2 which have the same name as some attribute in e1.
Performs in O(n log m) where n is the size of the smaller set and m the larger set's size.
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
Detected Type
intersectAttrs :: AttrSet -> AttrSet -> AttrSet
Implementation
This function is implemented in c++ and is part of the native nix runtime.