Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetGlobalObjectOptions

Hierarchy

  • GetGlobalObjectOptions

Index

Properties

Optional returnEmptyObject

returnEmptyObject: boolean

If the object is not found, return an new empty object instead of undefined. Requires throwIfUnavailable to be falsey.

default

false

Optional throwIfUnavailable

throwIfUnavailable: boolean

Throw an error if the object is not found.

default

false

Optional usageDesc

usageDesc: string

Additional information to include in an error if thrown.

Generated using TypeDoc