@wearesage/schema
Preparing search index...
MinLength
Function MinLength
MinLength
(
length
:
number
,
message
?:
string
,
)
:
(
target
:
any
,
propertyKey
:
string
)
=>
void
MinLength decorator - validates that a string or array has minimum length
Parameters
length
:
number
Optional
message
:
string
Returns
(
target
:
any
,
propertyKey
:
string
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@wearesage/schema
Loading...
MinLength decorator - validates that a string or array has minimum length