@grpc/grpc-js
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -30,3 +30,3 @@ "use strict"; | ||
function isFunction(arg) { | ||
return Object.prototype.toString.call(arg) === '[object Function]'; | ||
return typeof arg === 'function'; | ||
} | ||
@@ -33,0 +33,0 @@ /** |
{ | ||
"name": "@grpc/grpc-js", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "gRPC Library for Node - pure JS implementation", | ||
@@ -5,0 +5,0 @@ "homepage": "https://grpc.io/", |
@@ -59,3 +59,3 @@ /* | ||
function isFunction<ResponseType>(arg: Metadata | CallOptions | UnaryCallback<ResponseType> | undefined): arg is UnaryCallback<ResponseType>{ | ||
return Object.prototype.toString.call(arg) === '[object Function]' | ||
return typeof arg === 'function'; | ||
} | ||
@@ -62,0 +62,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
966646