File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ New library functions
34
34
* ` splitpath(p::String) ` function, which is the opposite of ` joinpath(parts...) ` : it splits a filepath into its components ([ #28156 ] ).
35
35
* ` isnothing(::Any) ` function, to check whether something is a ` Nothing ` , returns a ` Bool ` ([ #29679 ] ).
36
36
* ` getpid(::Process) ` method ([ #24064 ] ).
37
+ * ` fieldtypes(T::Type) ` which return the declared types of the field in type T ([ #29600 ] ).
37
38
38
39
Standard library changes
39
40
------------------------
Original file line number Diff line number Diff line change 664
664
665
665
The declared types of all fields in a composite DataType `T` as a tuple.
666
666
667
+ !!! compat "Julia 1.1"
668
+ This function requires at least Julia 1.1.
669
+
667
670
# Examples
668
671
```jldoctest
669
672
julia> struct Foo
You can’t perform that action at this time.
0 commit comments