UNPKG

@livy/util

Version:
15 lines (14 loc) 471 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isProcessableHandlerInterface = void 0; /** * Check whether a value implements the `ProcessableHandlerInterface` * * @param value The value to check */ function isProcessableHandlerInterface(value) { return (typeof value === 'object' && value !== null && value.processors instanceof Set); } exports.isProcessableHandlerInterface = isProcessableHandlerInterface;