Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ where object properties with empty array values can be ignored from the set of p
### `getPermutations`
The `getPermutations` function will return an array of all permutations for the given object.
```typescript
import {getPermutations} from "@drewkimbery/permutations";
import {generatePermutations} from "@drewkimberly/permutations";

const obj = {
pilot: ["Han Solo", "Lando Calrissian"],
Expand All @@ -72,7 +72,7 @@ const obj = {
speed: "1.5c"
};

const permutations = getPermutations(obj);
const permutations = generatePermutations(obj);
```

### `generatePermutations`
Expand Down