function-overloader
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "function-overloader", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "improve overloading functions and methods in js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -140,3 +140,3 @@ # FUNCTION OVERLOADER | ||
```javascript | ||
.when() | ||
<Overload Instance>.when() | ||
``` | ||
@@ -160,5 +160,11 @@ | ||
if there is no arguments it means that it will resolve only when overloaded function doesn't get any arguments. | ||
```javascript | ||
.done() | ||
<Overload Instance>.else() | ||
``` | ||
Accept callback function. Will invoke it when other criteria are not met. | ||
```javascript | ||
<Overload Instance>.done() | ||
``` | ||
should be called at the end to mark that now we should get chosen function response | ||
@@ -165,0 +171,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74580
193