UNPKG

@qntm-code/utils

Version:

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

7 lines (6 loc) 129 B
/** * Determines whether the given value is an Error. */ export function isError(value) { return value instanceof Error; }