Finds the first pattern, which matches the given name (either by string equality or pattern match). Patterns without names are ignored during lookup.
name to find
Rest
patterns to search in
pattern found; undefined for no pattern found
undefined
Finds the first pattern, which matches the given name (either by string equality or pattern match). Patterns without names are ignored during lookup.