@tempots/std

identity() function

Returns the input value as is.

Signature:

identity: (v: T) => T

Parameters

Parameter

Type

Description

v

T

The value to be returned.

Returns: T

The input value.