Skip to content

Commit

Permalink
to_array function
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolnetto committed Jan 17, 2022
1 parent d03f9f2 commit f1155c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Empty file.
4 changes: 4 additions & 0 deletions src/utils/iter/iter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const iterToArray = (iter) => {
let iter_arr = new Array([...iter])
return iter_arr[0]
}

0 comments on commit f1155c5

Please sign in to comment.