def METHOD_NAME():
    @nb.njit
    def append(builder, value):
        builder.append(value)
        return builder
    builder = append(ak.ArrayBuilder(), True)
    out = builder.snapshot()
    assert out.to_list() == [True]
    builder = append(builder, 1)
    out = builder.snapshot()
    assert out.to_list() == [True, 1]
    builder = append(builder, 1.1)
    out = builder.snapshot()
    assert out.to_list() == [True, 1, 1.1]
    z = 1.1 + 0.1j
    builder = append(builder, z)
    out = builder.snapshot()
    assert out.to_list() == [True, 1, 1.1, (1.1 + 0.1j)]
    builder = append(builder, np.datetime64("2020-09-04"))
    out = builder.snapshot()
    assert out.to_list() == [True, 1, 1.1, (1.1 + 0.1j), np.datetime64("2020-09-04")]
    builder = append(builder, np.timedelta64(5, "s"))
    out = builder.snapshot()
    assert out.to_list() == [
        True,
        1,
        1.1,
        (1.1 + 0.1j),
        np.datetime64("2020-09-04"),
        np.timedelta64(5, "s"),
    ]
    builder = append(builder, "hello")
    out = builder.snapshot()
    assert out.to_list() == [
        True,
        1,
        1.1,
        (1.1 + 0.1j),
        np.datetime64("2020-09-04"),
        np.timedelta64(5, "s"),
        "hello",
    ]
    builder = append(
        builder, b"arrow \xe2\x86\x92 zero \x00 not the end!".decode("utf-8")
    )
    out = builder.snapshot()
    assert out.to_list() == [
        True,
        1,
        1.1,
        (1.1 + 0.1j),
        np.datetime64("2020-09-04"),
        np.timedelta64(5, "s"),
        "hello",
        b"arrow \xe2\x86\x92 zero \x00 not the end!".decode("utf-8"),
    ]