@unction/appendm
TypeScript icon, indicating that this package has built-in type declarations

4.1.4 • Public • Published

@unction/appendM

Tests Stability Dependencies

A => Array => Array<A | B>

Takes an array and an item and returns the combination of both, appended.

NOTE: This mutates the array

const data = [1, 2, 3]

appendM(4)(data)

Would return:

[1, 2, 3, 4]

/@unction/appendm/

    Package Sidebar

    Install

    npm i @unction/appendm

    Weekly Downloads

    0

    Version

    4.1.4

    License

    ISC

    Unpacked Size

    17.2 kB

    Total Files

    25

    Last publish

    Collaborators

    • krainboltgreene