lang: funcs: Rename the lookup functions

This will make things more consistent with future use.
This commit is contained in:
James Shubin
2023-10-11 19:53:25 -04:00
parent 1dc6ebbffc
commit d1c15bd0b7
13 changed files with 78 additions and 81 deletions

View File

@@ -15,7 +15,7 @@ $t = sys.hasenv("TEST")
$f = sys.hasenv("DOESNOTEXIST")
$env = sys.env()
$m = maplookup($env, "TEST", "321")
$m = map_lookup_optional($env, "TEST", "321")
file "${tmpdir}/environ" {
state => $const.res.file.state.exists,