scratch-gui / src /addons /environment.js
soiz1's picture
Upload folder using huggingface_hub
8fd7a1d verified
raw
history blame contribute delete
279 Bytes
export const isMobile = typeof window !== 'undefined' && 'ontouchstart' in window;
export const clipboardSupported = typeof navigator !== 'undefined' && navigator.clipboard && navigator.clipboard.write;
export const mediaRecorderSupported = typeof MediaRecorder !== 'undefined';