frontend/.pnpm-store/v3/files/31/bc59fcae5f36f85a0e9dd3dc1eacb76ba9e7b6f8a53f2180c914bbe50dbadef1feb801ae292fe7da2befedb50548bfd147ec72275832543201212b4a802d5d

10 lines
275 B
Plaintext

"use strict";
var resolveException = require("../lib/resolve-exception")
, is = require("./is");
module.exports = function (value/*, options*/) {
if (is(value)) return value;
return resolveException(value, "%v is not a thenable object", arguments[1]);
};