UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

11 lines (10 loc) 252 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isError = void 0; /** * Determines whether the given value is an Error. */ function isError(value) { return value instanceof Error; } exports.isError = isError;