Dictionary.make

Create a Dictionary and add the key-value pairs $(PARAM args) to it.

struct Dictionary
@nogc nothrow static
make
(
Args...
)
(
Args args
)
if (
Args.length % 2 == 0 &&
allSatisfy!(Variant.compatibleToGodot, Args)
)

Examples

Dictionary emptyDictionary = Dictionary.make();
Dictionary status = Dictionary.make(gs!"health", 100, gs!"shields", 75);

Meta