• value {any}
    • Returns: {boolean}

    Returns true if the value is a built-in [Promise][].

    1. util.types.isPromise(Promise.resolve(42)); // Returns true