UNPKG

@livy/util

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