sam701 / syconf

A simple configuration language that keeps your config files lean
Apache License 2.0
4 stars 1 forks source link

Add hashmap method get_or #31

Open sam701 opened 3 years ago

sam701 commented 3 years ago
{}.get_or("a", "abc") == "abc" and
{a:"aa"}.get_or("a", "abc") == "aa"