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 @@ -34,6 +34,7 @@ New library functions
3434 * ` splitpath(p::String) ` function, which is the opposite of ` joinpath(parts...) ` : it splits a filepath into its components ([ #28156 ] ).
3535 * ` isnothing(::Any) ` function, to check whether something is a ` Nothing ` , returns a ` Bool ` ([ #29679 ] ).
3636 * ` getpid(::Process) ` method ([ #24064 ] ).
37+ * ` fieldtypes(T::Type) ` which return the declared types of the field in type T ([ #29600 ] ).
3738
3839Standard library changes
3940------------------------
Original file line number Diff line number Diff line change 664664
665665The declared types of all fields in a composite DataType `T` as a tuple.
666666
667+ !!! compat "Julia 1.1"
668+ This function requires at least Julia 1.1.
669+
667670# Examples
668671```jldoctest
669672julia> struct Foo
You can’t perform that action at this time.
0 commit comments