Skip to content

identity

Returns the input value unchanged.

ts
import { identity } from '@vielzeug/toolkit';

identity('hello'); // 'hello'