Skip to content

Latest commit

 

History

History
52 lines (25 loc) · 566 Bytes

File metadata and controls

52 lines (25 loc) · 566 Bytes

Home > @asl-19/js-utils > asType

asType() function

Cast an object to a specified data type.

Signature:

asType: <T>(value: T) => T

Parameters

Parameter

Type

Description

value

T

Returns:

T