UNPKG

framer-motion

Version:

An open source and production-ready motion library for React on the web

7 lines (6 loc) • 141 B
/** * Returns true if the provided key is a CSS variable */ export function isCSSVariable(key: string) { return key.startsWith("--") }