Skip to content

haslens analog tohasfield #145

Description

@goretkin

I didn't see an existing way to check whether get(obj, l) would return a value or throw any or all of

ERROR: type $obj has no field $f
BoundsError
ArgumentError: invalid index: $i

etc.

It could be nice to have a function or two for this. Possibly two so that one can do all the "static" checks---no bounds checking on AbstractArrays with non-inferrable size, or keys in Dicts)

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions