Nim Expert · Lesson 6

Custom pragmas and introspection

Annotate fields with your own pragmas and read them with hasCustomPragma and getCustomPragmaVal.

Lessons · Nim Expert · Lesson 6 of 10

Custom pragmas and introspection

Annotate fields with your own pragmas and read them with hasCustomPragma and getCustomPragmaVal.

Illustration for Nim
Annotate fields with your own pragmas and read them with hasCustomPragma and getCustomPragmaVal.