@extremejs/utils - v1.0.0-beta.23
    Preparing search index...

    Function identity

    • This method returns the first argument it receives.

      Type Parameters

      • Value

      Parameters

      Returns Value

      The value.

      1.0.0

      const foo = { bar: "baz" };

      console.log(identity(foo) === foo); // true