SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function parseFeatures

    • Parses a comma-separated feature list — the --features fill,borders flag's value.

      Parameters

      • value: string

      Returns Feature[]

      Matching is case-insensitive against the enum's values, so Fill, fill and numberFormat all resolve; the enum's own spelling is what comes back. An unknown name throws with the whole vocabulary rather than being skipped — a silently dropped feature reads as "this sheet has no fills", which is the wrong answer rather than a short one.