Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Types 如何查找类型的父类型和子类型? julia>整数_Types_Julia - Fatal编程技术网

Types 如何查找类型的父类型和子类型? julia>整数

Types 如何查找类型的父类型和子类型? julia>整数,types,julia,Types,Julia,另见 julia> Integer <: Real true julia> supertype(Integer) Real julia> subtypes(Integer) 3-element Array{Any,1}: Bool Signed Unsigned

另见

julia> Integer <: Real
true
julia> supertype(Integer)
Real

julia> subtypes(Integer)
3-element Array{Any,1}:
 Bool
 Signed
 Unsigned