Skip to main content

identity

Callable

  • identity<T>(value): T

  • Return the unchanged given value

    @example
    identity('foo');// 'foo'