UNPKG
ts-ds-tool
Version:
latest (0.1.5)
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Data structure and algorithm of TypeScript
github.com/HaifengDu/ts-ds-tool
HaifengDu/ts-ds-tool
ts-ds-tool
/
resource
/
algorithms
/
math
/
powerSet
/
powerSet.d.ts
2 lines
(1 loc)
•
135 B
TypeScript
View Raw
1
2
export
declare
function
powerSet
(
arr
:
Array
<
any
>,
allPowerSets
?:
Array
<
any
>,
currentPowerSets
?:
Array
<
any
>,
position
?:
number
):
any
[];