tguard-js
    Preparing search index...

    Function isBooleanArray

    • Determines whether the provided value is an array of booleans.

      Parameters

      • x: unknown

        The value to be checked.

      Returns x is boolean[]

      true if the value is an array of booleans, otherwise false.

      This function is an alias for:

      isArrayOf<boolean>(x, isBoolean);
      

      ...but rejects empty arrays.

      Use isArrayOf if empty arrays should be considered valid.

      1.0