Skip to content

Commit 238367e

Browse files
committed
Add local alias for toString
1 parent 4ff4d29 commit 238367e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/validators.js

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ SOFTWARE.
2828
"use strict";
2929

3030
/* Validation functions copied from check-types package - https://www.npmjs.com/package/check-types */
31+
32+
const toString = Object.prototype.toString;
33+
3134
function isFunction(data) {
3235
return typeof data === "function";
3336
}

0 commit comments

Comments
 (0)