Procedural type Procedural type A procedural type is internally a pointer to a procedure. nil is an allowed value for variables of a procedural type. Nim uses procedural types...
Boolean type Boolean type The boolean type is named bool in Nim and can be one of the two pre-defined values true and false. Conditions in while, if, elif, when-statements nee...
Type sections Type sections Example: type # example demonstrating mutually recursive types Node = ref object # an object managed by the garbage collector (ref)...
Media type Media type This class is designed to work with media types. Object references: Media type Available methods: [mediatype.create]($34eb3dbb4d5984f2.md "manu...
String Type String Type For the user to load a file we’ll have to let them supply a string consisting of the file name. Our language supports symbols, but still doesn’t suppor...
DROP TYPE Synopsis Description Parameters Examples Compatibility See Also DROP TYPE DROP TYPE — remove a data type Synopsis DROP TYPE [ IF EXISTS ] name [, ...]...
ALTER TYPE Synopsis Description Parameters Examples Compatibility See Also ALTER TYPE Changes the definition of a data type. Synopsis ALTER TYPE <name> OWNER TO ...