Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @aws-sdk/util-config-provider

Index

References

Enumerations

Functions

References

SelectorType

Re-exports SelectorType

booleanSelector

Re-exports booleanSelector

Functions

Const booleanSelector

  • booleanSelector(obj: Record<string, string | undefined>, key: string, type: SelectorType): boolean
  • Returns boolean value true/false for string value "true"/"false", if the string is defined in obj[key] Returns undefined, if obj[key] is not defined. Throws error for all other cases.

    internal

    Parameters

    • obj: Record<string, string | undefined>
    • key: string
    • type: SelectorType

    Returns boolean