Define isNotNull

This commit is contained in:
niten 2023-10-06 10:35:42 -07:00
parent 9108b0d21f
commit 7169a05ac3
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ let
lines = splitString "\n" zonedata;
in concatStringsSep "\n" (map formatter lines);
isNotNull = o: !isNull o;
hostToFqdn = host:
if isNotNull (match ".+.$" host) then
host