Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / dist / typings / src / forms / deps / isValid.d.ts
Size: Mime:
import { Primitive } from 'chain-able/typings';
declare type ValidationTypes = 'length' | 'email' | 'length,email' | string | Array<string | Function>;
/**
 * @todo multipliers, may  need length on any values,
 *       so type should be an array always
 *
 * @todo ^ might want to have settings for these, so would be an array of strings or objects...
 */
declare function isValid(value: Primitive, types?: ValidationTypes): boolean;
export { isValid };
export default isValid;