diff --git a/source/configy/Attributes.d b/source/configy/Attributes.d index 0c74602..29a515f 100644 --- a/source/configy/Attributes.d +++ b/source/configy/Attributes.d @@ -113,6 +113,12 @@ public bool startsWith; } +/// Short hand syntax +public Name StartsWith(string name) @safe pure nothrow @nogc +{ + return Name(name, true); +} + /******************************************************************************* A field which carries informations about whether it was set or not