/**
 * Check whether an error originated from a Recoil selector, i.e. it has a selectorId and extras attached
 *
 * @param e error to check
 */
export function isSelectorError(e) {
    return e !== undefined && e !== null && typeof e === 'object' && 'selectorId' in e && 'selectorExtras' in e;
}
//# sourceMappingURL=types.js.map