• Helper which returns an IConfigDefaultCheck instance that will validate and convert the user provided value to a boolean from a string or boolean value

    Type Parameters

    Parameters

    • Optional defaultValue: boolean

      The default value to apply it not provided or it's not valid

    • Optional fallBackName: keyof T | keyof C | (keyof T | keyof C)[]

      The fallback configuration name if the current value is not available

    Returns IConfigDefaultCheck<T, boolean, C>

    a new IConfigDefaultCheck structure

Generated using TypeDoc