core-functions
Advanced tools
Changelog
2.0.3
promises.js
:
every
function that accepts multiple promises and returns a single promise that returns a list of either a result or an error for each and every one of the given promisesChangelog
2.0.2
promises.js
:
isPromise
to survive undefined and nullisArrayOfPromises
function to check if a result is an array of promisesallOrOne
function to transform a result into a single promise
using Promise.all
, the promise-result or Promise.resolve
Promise.try
to use new Promise.allOrOne
allOrOne
& isArrayOfPromises
and more tests for try
Changelog
2.0.1
x instanceof Array
checks with safer Array.isArray(x)
Changelog
2.0.0
checkMethodEqual
and checkMethodOkNotOk
functions to show method prefixes properlyChangelog
1.2.0
stringify
function to better handle functions and arraysisPromise
functioncancellable
argument to delay
function to enable cancellation of delay's timeoutChangelog
1.1.1
Changelog
1.1.0
trimOrEmpty
functionsafeTrim
function to trim
and changed safeTrim
to an alias for trim