Defines options for all get methods.

interface GetOptions {
    throws?: boolean;
}

Properties

Properties

throws?: boolean

When true and the target is invalid, throw an exception. If false and the target is invalid undefined is returned; default: true.

true