Skip to main content

Type.FunctionReturn

ส่งกลับประเภทที่ส่งกลับโดยประเภทฟังก์ชัน

Syntax​

Type.FunctionReturn(
type as type
) as type

Remarks​

ส่งกลับประเภทที่ส่งกลับโดยฟังก์ชัน type

Examples​

Example #1​

ค้นหาประเภทการส่งกลับของ () as any)

Type.FunctionReturn(type function () as any)

Result:

type any

Category​

Type