1.0.4 • Published 2 years ago
nv-facutil-dotdot v1.0.4
nv-facutil-dotdot
- creat a arith sequence
- for test .. syntax
install
- npm install nv-facutil-dotdot
usage
const { dd } = require("nv-facutil-dotdot");
example
> dd(1,2,8)
[
1, 2, 3, 4,
5, 6, 7, 8
]
>
> dd(1,7,8)
[
1, 2, 3, 4,
5, 6, 7, 8
]
>
> dd("a","b","f")
[ 'a', 'b', 'c', 'd', 'e', 'f' ]
>
> dd("a","e","f")
[ 'a', 'b', 'c', 'd', 'e', 'f' ]
>
>
> dd("a","b","z")
[
'a', 'b', 'c', 'd', 'e', 'f',
'g', 'h', 'i', 'j', 'k', 'l',
'm', 'n', 'o', 'p', 'q', 'r',
's', 't', 'u', 'v', 'w', 'x',
'y', 'z'
]
>
> dd("a","c","z")
[
'a', 'c', 'e', 'g',
'i', 'k', 'm', 'o',
'q', 's', 'u', 'w',
'y'
]
>
> dd(1,3,10)
[ 1, 3, 5, 7, 9 ]
>
METHODS
APIS
{
_diff: [Function: _diff],
ddnum: [Function: ddnum],
ddstr: [Function: ddstr],
dd: [Function: dd]
}
LICENSE
- ISC