providerplaneai
    Preparing search index...
    • Validates that a value is a boolean when provided.

      Parameters

      • value: unknown

        Value to validate.

      • fieldName: string

        Field name used in the thrown error.

      Returns void

      When value is present but not a boolean.