GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Validates a GeoJSON feature and returns a normalized result object.

      Parameters

      • ...args: [feature: unknown, index?: number]

        Passed through to FeatureValidator.validateFeature.

      Returns { valid: boolean; errors: string[] }

      { valid, errors } where errors is an array of strings.