• 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

    • OptionaldefaultValue: boolean

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

    • OptionalfallBackName: 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