getFeature

Undocumented in source. Be warned that the author may not have intended to support it.
@safe
getFeature
()
()

Examples

Examples: How to use getFeature on a feature

//
   import core.demangle : mangle;
   import std.path;
   import tagion.basic.basic : unitfile;
   import Module = tagion.behaviour.BehaviourUnittest;
   import tagion.hibon.HiBONFile : fread;

   enum filename = mangle!(FunctionTypeOf!(getFeature!Module))("unittest")
           .unitfile
           .setExtension(FileExtension.hibon);
   const feature = getFeature!(Module);
   const expected = filename.fread!FeatureGroup;
   assert(feature.toDoc == expected.toDoc);

Meta