UNPKG

@yandex/ui

Version:

Yandex UI components

9 lines (7 loc) 293 B
import { isEmptyCompose } from './isEmpyCompose'; import { isSpecificIdentifier } from './isSpecificIdentifier'; module.exports.filterCompose = (args, identifier) => { return args.filter((arg) => { return !isSpecificIdentifier(arg, identifier) && !isEmptyCompose(arg); }); };