Defines options for all get methods.

interface GetMethod {
    throws?: boolean;
}
Index
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