Pebble App Framework: Phone API
    Preparing search index...

    Function parseKeywords

    • Splits a keyword list as the wearer types it into the keywords to match.

      The list is split on commas. Each keyword loses the spaces at its ends and goes to lower case, and an empty one is left out, so Lunch, , Canceled: gives two.

      Parameters

      • list: string | null | undefined

        The list as typed, which may be missing.

      Returns string[]

      The keywords, lower case, in the order typed.