Home
last modified time | relevance | path

Searched refs:isImageType (Results 1 – 8 of 8) sorted by relevance

/expo/packages/expo-asset/src/__tests__/
H A DImageAssets-test.ts8 expect(ImageAssets.isImageType('jpeg')).toBe(true);
9 expect(ImageAssets.isImageType('png')).toBe(true);
10 expect(ImageAssets.isImageType('gif')).toBe(true);
11 expect(ImageAssets.isImageType('webp')).toBe(true);
15 expect(ImageAssets.isImageType('')).toBe(false);
16 expect(ImageAssets.isImageType('js')).toBe(false);
17 expect(ImageAssets.isImageType('txt')).toBe(false);
/expo/packages/expo-asset/build/
H A DImageAssets.d.ts6 export declare function isImageType(type: string): boolean; function
H A DImageAssets.js4 export function isImageType(type) { function
H A DImageAssets.js.map1 …e: string;\n width: number;\n height: number;\n};\n\nexport function isImageType(type: string): …
H A DAsset.js214 if (ImageAssets.isImageType(this.type)) {
H A DAsset.js.map1 … try {\n if (Platform.OS === 'web') {\n if (ImageAssets.isImageType(this.type)) {\n…
/expo/packages/expo-asset/src/
H A DImageAssets.ts12 export function isImageType(type: string): boolean { function
H A DAsset.ts254 if (ImageAssets.isImageType(this.type)) {