Sha256: ca0863f33f70893674ced92d45aa82e2218f7049b1d423f6ac37e7db010fd509
Contents?: true
Size: 468 Bytes
Versions: 67
Compression:
Stored size: 468 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = isPlaceholderType; var _definitions = require("../definitions"); function isPlaceholderType(placeholderType, targetType) { if (placeholderType === targetType) return true; const aliases = _definitions.PLACEHOLDERS_ALIAS[placeholderType]; if (aliases) { for (const alias of aliases) { if (targetType === alias) return true; } } return false; }
Version data entries
67 entries across 59 versions & 11 rubygems