MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / isHaste

Method isHaste

packager/src/node-haste/Module.js:130–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 }
129
130 isHaste(): Promise<boolean> {
131 return Promise.resolve().then(() => this._getHasteName() != null);
132 }
133
134 getCode(transformOptions: TransformOptions) {
135 return this.read(transformOptions).then(({code}) => code);

Callers 3

_processHasteModuleMethod · 0.45
_processHastePackageMethod · 0.45
Module-test.jsFile · 0.45

Calls 3

_getHasteNameMethod · 0.95
resolveMethod · 0.65
thenMethod · 0.45

Tested by

no test coverage detected