UNPKG

style-dictionary-utils

Version:
8 lines (7 loc) 258 B
/** * @name isSource * @type filter * @description only returns tokens that are coming from a `source` file and * not from an `included` file */ export const isSource = (token) => (token === null || token === void 0 ? void 0 : token.isSource) === true;