UNPKG
@amaui/utils
Version:
latest (1.1.40)
1.1.40
1.1.38
1.1.37
1.1.36
1.1.35
1.1.34
1.1.33
1.1.32
1.1.31
1.1.30
1.1.29
1.1.28
1.1.27
1.1.26
1.1.25
1.1.24
1.1.23
1.1.22
1.1.21
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.11450
1.0.11447
1.0.11445
1.0.11444
1.0.11443
1.0.11441
1.0.11440
1.0.11437
1.0.11434
1.0.11431
1.0.11430
1.0.11427
1.0.11425
1.0.11424
1.0.11421
1.0.11417
1.0.11414
1.0.11413
1.0.11411
1.0.11147
1.0.11144
1.0.11141
1.0.11117
1.0.11114
1.0.11111
1.0.1874
1.0.1871
1.0.1870
1.0.1847
1.0.1844
1.0.1841
1.0.184
1.0.181
1.0.180
1.0.177
1.0.174
1.0.171
1.0.170
1.0.157
1.0.154
1.0.151
1.0.147
1.0.145
1.0.144
1.0.141
1.0.137
1.0.135
1.0.134
1.0.131
1.0.130
1.0.127
1.0.125
1.0.124
1.0.123
1.0.122
1.0.121
1.0.120
1.0.119
1.0.118
1.0.117
1.0.116
1.0.115
1.0.114
1.0.113
1.0.112
1.0.111
1.0.11
1.0.1
1.0.0
Utils
github.com/amaui-org/amaui-utils
amaui-org/amaui-utils
@amaui/utils
/
permutation.d.ts
6 lines
(5 loc)
•
252 B
TypeScript
View Raw
1
2
3
4
5
6
export
declare
type
TPermutation
=
Array
<
any
> | (
() =>
IterableIterator
<
any
>);
export
interface
IPermutationOptions
{
response
?:
'array'
|
'yield'
; }
export
default
function
permutation
(
value_
:
any
[],
options_
?:
IPermutationOptions
):
TPermutation
;