Options
Menu

Dynamic module "customValidators/RCValidator"

ngdoc

object

name

RCValidator

requires

moment

requires

underscore.string

description

Return true for valid birth day number in Czech Republic, otherwise return false.

example
            
             //create validator
             var validator = new RCValidator();
            
             //valid RC -> return true
             var result = validator.isAcceptable('800101/9999');
             //unvalid RC  -> return false
             var result = validator.isAcceptable('111111/1752');
            
            

Index

Properties

Methods

Properties

tagName

tagName: string

Methods

isAcceptable

  • isAcceptable(s: any): boolean
  • Parameters

    • s: any

    Returns boolean

Generated using TypeDoc