update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
5
node_modules/ramda/es/internal/_functionName.js
generated
vendored
Normal file
5
node_modules/ramda/es/internal/_functionName.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
export default function _functionName(f) {
|
||||
// String(x => x) evaluates to "x => x", so the pattern may not match.
|
||||
var match = String(f).match(/^function (\w*)/);
|
||||
return match == null ? '' : match[1];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue