Type.FunctionReturn

About

Returns a type returned by a function type.

Syntax

Type.FunctionReturn(type as type) as type  

Examples

Type.FunctionReturn(type function () as any) equals type any  
Type.FunctionReturn(type function () as [A = number]) equals type [A = number]