Wagtail client-side components
    Preparing search index...

    Function identity

    • Returns the value of the first argument. All others are ignored.

      Type Parameters

      • T extends any[]

      Parameters

      • ...args: T

      Returns T[0]

      identity(7, 8, 9)
      // 7