Skip to content

unctionjs/appendM

Repository files navigation

@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]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published