Skip to content

unctionjs/fresh

Repository files navigation

@unction/fresh

Tests Stability Dependencies

A => A

Takes a value and returns an empty fresh version of that value.

fresh({aaa: "aaa"}) // {}
fresh(["aaa"]) // []
fresh({}) // {}
fresh([]) // []