getFiles
lib.getFiles
Docs pulled from | This Revision | 13 minutes ago
Extracts values of all "file" keys of the given list
Type
getFiles :: [ { file :: a; } ] -> [a]
Examples
getFiles
usage example
getFiles [ { file = "file1"; } { file = "file2"; } ] // => [ "file1" "file2" ]
getFiles [ ] // => [ ]
Noogle detected
Implementation
This function is implemented in c++ and is part of the native nix runtime.