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

    Type Parameters

    • Value extends string | unknown[]

    Parameters

    Returns TailT<Value>

    Since

    1.0.0

    Example

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

    Example

    tail("012345");
    // => "12345"