@trashpanda001/helpers
    Preparing search index...

    Function identity

    • An identity function that returns its first argument.

      Type Parameters

      • T

      Parameters

      • value: T

        the value to return

      Returns T

      the value passed in

      import { identity } from "@trashpanda001/helpers/function"

      identity(123)
      // 123