splitVersion
lib.versions.splitVersion
Primop
Docs pulled from | This Revision | 11 minutes ago
Takes 1 arguments
s
Break a version string into its component parts.
Examples
splitVersion
usage example
splitVersion "1.2.3"
=> ["1" "2" "3"]
Noogle detected
Detected Type
splitVersion :: String -> [String]
Implementation
This function is implemented in c++ and is part of the native nix runtime.
Implementation
The following is the current implementation of this function.
splitVersion = builtins.splitVersion;