Options
Menu

Dynamic module "customValidators/ICOValidator"

ngdoc

object

name

ICOValidator

description

Return true for valid identification number of CZE company (called ico), otherwise return false.

example
             //create validator
             var validator = new IcoValidator();
            
             //valid IC -> return true
             var result = validator.isAcceptable('12312312');
             //unvalid IC  -> return true
             var result = validator.isAcceptable('11111111');
            
            

Index

Properties

Methods

Properties

tagName

tagName: string

Methods

isAcceptable

  • isAcceptable(input: string): boolean
  • It checks validity of identification number of CZE company (called ico)

    Parameters

    • input: string

      value to check

    Returns boolean

    return true for valid value, otherwise false

Generated using TypeDoc