Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 104.23.253.142
Cant Read [ /etc/named.conf ]
8.1.5
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
/
usr /
share /
doc /
node-p-is-promise /
[ HOME SHELL ]
Name
Size
Permission
Action
changelog.Debian.gz
552
B
-rw-r--r--
copyright
1.44
KB
-rw-r--r--
readme.md
903
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)
Close