RockPaperScissors/node_modules/ow/dist/predicates/base-predicate.js
2021-11-30 22:03:51 +01:00

12 lines
297 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPredicate = exports.testSymbol = void 0;
/**
@hidden
*/
exports.testSymbol = Symbol('test');
/**
@hidden
*/
const isPredicate = (value) => Boolean(value[exports.testSymbol]);
exports.isPredicate = isPredicate;