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

    Function tail

    • It will return all but the first element of the value.

      Type Parameters

      • Value extends string | unknown[]

      Parameters

      Returns TailT<Value>

      1.0.0

      tail([0, 1, 2, 3, 4, 5]); // => [1, 2, 3, 4, 5]
      
      tail("012345"); // => "12345"