Sha256: f950fa6a024ce614ac3e58c35f0db5e44d49fda1eca9bcd766b566fe7e2302e5

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

import { Cache } from '@ember/-internals/utils';
const firstDotIndexCache = new Cache(1000, key => key.indexOf('.'));
export function isPath(path) {
    return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
discourse-ember-source-3.6.0.0 dist/es/@ember/-internals/metal/lib/path_cache.js