Skip to content

Commit

Permalink
add AsyncFunction example (#3391)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harris-Miller committed Jul 18, 2023
1 parent 9c2310c commit 6dd4ac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/type.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import _curry1 from './internal/_curry1.js';
* R.type([]); //=> "Array"
* R.type(/[A-z]/); //=> "RegExp"
* R.type(() => {}); //=> "Function"
* R.type(async () => {}); //=> "AsyncFunction"
* R.type(undefined); //=> "Undefined"
*/
var type = _curry1(function type(val) {
Expand Down

0 comments on commit 6dd4ac9

Please sign in to comment.