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

    Function readBool

    • Reads a boolean Clay setting, applying a fallback when it is unset.

      Parameters

      • value: any

        The raw Clay value.

      • fallback: boolean

        What to return when the value is missing or empty.

      Returns boolean

      The setting as a real boolean.