style-dictionary-utils
Version:
Utilities to use in your style dictionary config
7 lines (6 loc) • 304 B
JavaScript
/**
* @name isCubicBezier
* @type filter
* @description only returns tokens of type `cubicBezier`
*/
export const isCubicBezier = (token) => (token === null || token === void 0 ? void 0 : token.$type) === 'cubicBezier' || (token === null || token === void 0 ? void 0 : token.type) === 'cubicBezier';