1.0.0 • Published 3 years ago
@jswork/next-defaults v1.0.0
next-defaults
Set defaults value.
installation
npm install -S @jswork/next-defaults
usage
import '@jswork/next-defaults';
nx.defaults(currentValue, defaultValue);
nx.defaults(0, -1); // 0
nx.defaults(undefeind, -1); //-1
license
Code released under the MIT license.
1.0.0
3 years ago