value
{any}- Returns: {boolean}
Returns true
if the value is a built-in [Promise
][].
util.types.isPromise(Promise.resolve(42)); // Returns true
value
{any}Returns true
if the value is a built-in [Promise
][].
util.types.isPromise(Promise.resolve(42)); // Returns true
若有收获,就点个赞吧
0 人点赞
让时间为你证明