Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for built-in function 'has(key)' #53

Closed
kenjones-cisco opened this issue Sep 27, 2017 · 0 comments
Closed

Add support for built-in function 'has(key)' #53

kenjones-cisco opened this issue Sep 27, 2017 · 0 comments

Comments

@kenjones-cisco
Copy link
Contributor

Add support for built-in function 'has(key)'

The builtin function has returns whether the input object has the given key, or the input array has an element at the given index.

has($key) has the same effect as checking whether $key is a member of the array returned by keys, although has will be faster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants