Files
JiboSDK/node_modules/esniff/utils/ensure-string-literal.js

9 lines
212 B
JavaScript
Raw Normal View History

2026-03-22 03:21:45 +02:00
"use strict";
var isStringLiteral = require("./is-string-literal");
module.exports = function (arg) {
if (isStringLiteral(arg)) return arg;
throw new TypeError(arg + " does not represent string literal");
};