UNPKG

style-dictionary-utils

Version:
11 lines (10 loc) 289 B
/** * @name isBorder * @type filter * @description only returns tokens of type `border` */ export const isBorderFilter = (token) => (token === null || token === void 0 ? void 0 : token.$type) === 'border'; export const isBorder = { name: 'isBorder', filter: isBorderFilter, };