Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid filters #375

Merged
merged 15 commits into from
Jan 14, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added some commenting for newly exposed table method
  • Loading branch information
Ro4052 committed Jan 9, 2019
commit 520850bfade58f67ea0fb3d5705c819406408f97
7 changes: 7 additions & 0 deletions packages/perspective/src/js/perspective.js
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,13 @@ export default function(Module) {
return typeof value !== "undefined" && value !== null;
};

/**
* Determines whether a given filter is valid.
*
* @param {Array<string>} [filter] A filter configuration array to test
*
* @returns {boolean} Whether the filter is valid
*/
table.prototype.is_valid_filter = function(filter) {
return this._is_valid_filter(filter);
};
Expand Down