Skip to content

Documentation / @geoverse/editor-core / minLengthRule

Function: minLengthRule() ​

ts
function minLengthRule(min, severity?): ValidationRule;

Defined in: packages/editor-core/src/validation/rules.ts:74

最小长度(默认 warning,可配 error)。

Parameters ​

min ​

number

severity? ​

IssueSeverity = 'warning'

Returns ​

ValidationRule