UNPKG

flow-typed

Version:

A repository of high quality flow type definitions

9 lines (6 loc) 208 B
// @flow import * as node_path from 'path'; export default function isInFlowTypedRepo(): boolean { const PATTERN = new RegExp('\\' + node_path.sep + 'flow-typed'); return PATTERN.test(process.cwd()); }