@versionone/ui
Version:
Open-source and community supported collection of common UI components built with React. As an open-sourced and community supported project, VersionOne UI is not formally supported by VersionOne.
13 lines (11 loc) • 349 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var stringStartIndex = 0;
var none = exports.none = function none() {
return true;
};
var caseInsensitive = exports.caseInsensitive = function caseInsensitive(searchText, value) {
return value.toLowerCase().indexOf(searchText.toLowerCase()) >= stringStartIndex;
};