@autoplay/utils
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -24,3 +24,3 @@ import { DevString } from "./DevString"; | ||
} | ||
else if (typeof input === "function" || input instanceof Error) { | ||
else if (typeof input === "function") { | ||
return input.toString(); | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "@autoplay/utils", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "Utilities designed for error management, parsing, and TypeScript domain modeling.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -22,3 +22,3 @@ import { DevString } from "./DevString"; | ||
return input.toDisplay(); | ||
} else if (typeof input === "function" || input instanceof Error) { | ||
} else if (typeof input === "function") { | ||
return input.toString(); | ||
@@ -25,0 +25,0 @@ } else { |
98528