mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-27 06:29:25 -04:00
Lint for eslint-config-scratch@3
This commit is contained in:
parent
a6568c4bf2
commit
727fcc7875
22 changed files with 65 additions and 65 deletions
src/engine
|
@ -4,7 +4,7 @@ var Thread = require('./thread');
|
|||
/**
|
||||
* Utility function to determine if a value is a Promise.
|
||||
* @param {*} value Value to check for a Promise.
|
||||
* @return {Boolean} True if the value appears to be a Promise.
|
||||
* @return {boolean} True if the value appears to be a Promise.
|
||||
*/
|
||||
var isPromise = function (value) {
|
||||
return value && value.then && typeof value.then === 'function';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue