UNPKG

style-dictionary-utils

Version:
7 lines (6 loc) 299 B
/** * @name isFontFamily * @type filter * @description only returns tokens of type `fontFamily` */ export const isFontFamily = (token) => (token === null || token === void 0 ? void 0 : token.$type) === 'fontFamily' || (token === null || token === void 0 ? void 0 : token.type) === 'fontFamily';