/** * This callback is a returned event listener * * @callback predicateOf * @param {any} tok * @returns {boolean} Returns true if the passed value matches the criteria. */ /** * Produces the predicateOf function * * @private * @param {Function|string|number|object} criteria * @returns {predicateOf} * @category Functional */ export default function match(criteria: Function | string | number | object): predicateOf; /** * This callback is a returned event listener */ export type predicateOf = (tok: any) => boolean;