Projects / definy / localized-descriptions core.is-type-part-type description Whether a part with this type is a type part: its type is `type`, or it is a function that returns `type` (a type that takes type arguments, such as core.option) type Fn(part_type: @core.expression ) -> Boolean expression fn(part_type$0) =>
match $0 {
#type_type(_) =>
true,
#type_function(function_type$1) =>
match $1.return_type {
#type_type(_) =>
true,
_ =>
false
},
_ =>
false
} visibility public core.is-type-part-type (project definy, branch localized-descriptions, snapshot 4UAxOcclWZD2NPiuAIppcpCjShSw41vxBIT6qrjlNLc)
id: ALOGwQqAKYCtEWowskfL6vZC_SRXCpOT-MUJrvE52Gk
content hash: x2viapKpNGGIcoz_IGztOzVHrLNuQT41vI8OhszHoa0