Libraries
    Preparing search index...

    Interface EnvBooleanOptions

    Options for envBoolean.

    interface EnvBooleanOptions {
        caseSensitive?: boolean;
        falseValues?: readonly string[];
        trim?: boolean;
        trueValues?: readonly string[];
    }
    Index

    Properties

    caseSensitive?: boolean

    Whether string matching is case-sensitive.

    false

    falseValues?: readonly string[]

    String values accepted as false.

    ['false', '0', 'no', 'off']

    trim?: boolean

    Whether to trim surrounding whitespace before matching.

    true

    trueValues?: readonly string[]

    String values accepted as true.

    ['true', '1', 'yes', 'on']