Utility Sass @ 0.1.0-alpha.41
    Preparing search index...

    Type Alias CustomChecker<T_Slug>

    An additional feature test to check.

    type CustomChecker<T_Slug extends string = string> = {
        slug: T_Slug;
        test: boolean | ((check: FeatureCheck) => boolean);
    }

    Type Parameters

    • T_Slug extends string = string

      Slugs used for custom feature checkers.

    Index

    Properties

    Properties

    slug: T_Slug

    The feature slug to use for this test.

    test: boolean | ((check: FeatureCheck) => boolean)

    The test result or the test result to run to determine feature availability.