value
{any}- Returns: {boolean}
Returns true
if the value is a [Proxy
][] instance.
const target = {};
const proxy = new Proxy(target, {});
util.types.isProxy(target); // Returns false
util.types.isProxy(proxy); // Returns true
value
{any}Returns true
if the value is a [Proxy
][] instance.
const target = {};
const proxy = new Proxy(target, {});
util.types.isProxy(target); // Returns false
util.types.isProxy(proxy); // Returns true
若有收获,就点个赞吧
0 人点赞
让时间为你证明