fx-flow v0.7.0 / pipe/strict / identity
Function: identity()
identity<
A
>(args
):A
Return the same value as the given argument.
Type parameters
• A
Parameters
• args: A
Returns
A
Example
typescript
identity(5); // 5
fx-flow v0.7.0 / pipe/strict / identity
identity<
A
>(args
):A
Return the same value as the given argument.
• A
• args: A
A
identity(5); // 5