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
Is your feature request related to a problem? Please describe. getMappingValue doesn't support primitive types like string or number. Only object.
getMappingValue
string
number
object
Describe the solution you'd like getMappingValue("str", { condition: () => true }); // Return "str"
It's mainly to support the loop.
loop
getMappingValue( { arr: [1, "foo", false] }, { loop: [ "arr", { fn: (i) => { console.log(i); return i; }, }, ], } );
The text was updated successfully, but these errors were encountered:
check if we also need a try-catch here
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
getMappingValue
doesn't support primitive types likestring
ornumber
. Onlyobject
.Describe the solution you'd like
getMappingValue("str", { condition: () => true }); // Return "str"
It's mainly to support the
loop
.The text was updated successfully, but these errors were encountered: