We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
u.is
Works like u.in but simply returns true or false if the predicate is met:
u.in
u.is("a.b", 3, { a: { b: 3 } }); // => true u.is("a.b", 2, { a: { b: 3 } }); // => false u.is("a.b", isEven, { a: { b: 3 } }); // => false
predicate can be a value or a function. If it's a function, invoke it and use the return value. path can be a string or an array, just like u.in.
I may have gotten the order of the arguments of u.in and u.is wrong... wondering if value should be first...
The text was updated successfully, but these errors were encountered:
5c0855b
Sorry, something went wrong.
No branches or pull requests
Works like
u.in
but simply returns true or false if the predicate is met:predicate can be a value or a function. If it's a function, invoke it and use the return value.
path can be a string or an array, just like
u.in
.I may have gotten the order of the arguments of
u.in
andu.is
wrong... wondering if value should be first...The text was updated successfully, but these errors were encountered: