Stone.js API
    Preparing search index...

    Function getBoolean

    Get the specified env variable value as a boolean.

    The environment variable key.

    Options for retrieving the value.

    The value as a boolean.

    • Get the specified env variable value as a boolean.

      Parameters

      • key: string

        The environment variable key.

      Returns boolean

      The value as a boolean.

    • Get the specified env variable value as a boolean.

      Parameters

      • key: string

        The environment variable key.

      • options: boolean | Options

        Options for retrieving the value.

      Returns boolean

      The value as a boolean.