mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-25 02:15:57 +00:00
commit
1899c062e5
@ -500,7 +500,7 @@ typeof(DataType) # => DataType
|
|||||||
|
|
||||||
# Users can define types
|
# Users can define types
|
||||||
# They are like records or structs in other languages.
|
# They are like records or structs in other languages.
|
||||||
# New types are defined used the `type` keyword.
|
# New types are defined using the `type` keyword.
|
||||||
|
|
||||||
# type Name
|
# type Name
|
||||||
# field::OptionalType
|
# field::OptionalType
|
||||||
|
Loading…
Reference in New Issue
Block a user