@kissmybutton/schema-guard
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Abstract
Attribute
Validator
Factory
Attribute
Validator
Factory
Basic
Attribute
Validator
Color
Attribute
Validator
Number
Attribute
Validator
Object
Attribute
Validator
Schema
Guard
String
Attribute
Validator
validate
validate
Units
Validation
Error
Validation
Result
Abstract
Attribute
Validator
Attribute
Config
Basic
Attribute
Dictionary
Units
split
Number
And
Units
Regex
from
Camel
Case
is
Color
is
Empty
is
Integer
is
Number
is
Object
is
String
Hierarchy
StringAttributeValidator
Implements
AbstractAttributeValidator
Index
Methods
validate
validate
Units
Methods
validate
validate
(
attribute
:
string
, value
:
string
, attributeConfig
:
AttributeConfig
)
:
ValidationResult
Parameters
attribute:
string
value:
string
attributeConfig:
AttributeConfig
Returns
ValidationResult
Private
validate
Units
validate
Units
(
attribute
:
string
, value
:
string
, config
:
any
)
:
ValidationResult
Parameters
attribute:
string
value:
string
config:
any
Returns
ValidationResult
Generated using
TypeDoc