MCPcopy Index your code
hub / github.com/nodejs/node / isFileHandle

Method isFileHandle

lib/internal/fs/promises.js:187–189  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

185 #brandCheck = undefined;
186
187 static isFileHandle(value) {
188 return (value != null && typeof value === 'object' && #brandCheck in value);
189 }
190
191 /**
192 * @param {InternalFSBinding.FileHandle | undefined} filehandle

Callers 4

validateBodyFunction · 0.80
configureOutboundFunction · 0.80
setBodyMethod · 0.80
#createStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected