File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ New library functions
25
25
* ` splitpath(p::String) ` function, which is the opposite of ` joinpath(parts...) ` : it splits a filepath into its components ([ #28156 ] ).
26
26
* ` isnothing(::Any) ` function, to check whether something is a ` Nothing ` , returns a ` Bool ` ([ #29679 ] ).
27
27
* ` getpid(::Process) ` method ([ #24064 ] ).
28
+ * ` fieldtypes(T::Type) ` which return the declared types of the field in type T ([ #29600 ] ).
28
29
29
30
Standard library changes
30
31
------------------------
Original file line number Diff line number Diff line change 628
628
629
629
The declared types of all fields in a composite DataType `T` as a tuple.
630
630
631
+ !!! compat "Julia 1.1"
632
+ This function requires at least Julia 1.1.
633
+
631
634
# Examples
632
635
```jldoctest
633
636
julia> struct Foo
You can’t perform that action at this time.
0 commit comments