Table of Contents

Property HasValidator

Namespace
LMKit.Extraction
Assembly
LM-Kit.NET.dll

HasValidator

Gets a value indicating whether a format-specific validator exists for the detected entity kind.

public bool HasValidator { get; }

Property Value

bool

true when the entity kind has a dedicated validator (such as email, IBAN, or phone); otherwise false.

Examples

if (element.Validation.HasValidator)
{
    Console.WriteLine($"{element.Validation.EntityKind} validator: {element.Validation.Status}");
}
Share