UNPKG

style-dictionary-utils

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