/*! © SpryMedia Ltd - datatables.net/license */ /** * The plug-in provides a way to determine the searchable state of one or more * columns, as was configured by the `-init columns.searchable` option. * * @name columns().order() * @summary Apply multi-column ordering through the columns() API method. * @author [Allan Jardine](http://sprymedia.co.uk) * @requires DataTables 3+ * * @returns {boolean|DataTables.Api} Searchable flag * * @example * // Get the searchable flag for all columns * table.columns().searchable().toArray() * * @example * // Get the searchable flag for column index 0 * table.column(0).searchable() */ import { Api } from 'datatables.net'; declare module 'datatables.net' { interface ApiColumnMethods { /** Get searchable flag for selected column */ searchable(): boolean; } interface ApiColumnsMethods { /** Get searchable flag for selected columns */ searchable(): Api; } }