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
What do you think?
import { concat } from '@entria/utils/Objects'; // concat({ a: b }, { c: d });
Is better than?
import { Objects } from '@entria/utils'; // Objects.concat({ a: b }, { c: d });
The text was updated successfully, but these errors were encountered:
Can we have an index.js insideutils that import Objects.js? This will result in a simplified way of the first suggestion. Something like this:
index.js
utils
Objects.js
index.js:
import Objects from './Objects';
Then...
import { concat } from '@entria/utils'; // concat({ a: b }, { c: d });
Works?
Sorry, something went wrong.
And if we want to create concat on arrays, for example?
concat
We can use
import { concatObjects, concatArrays } from '@entria/utils';
or
import { concat as concatObjects } from '@entria/utils/Objects'; import { concat as concatArrays } from '@entria/utils/Arrays';
No branches or pull requests
What do you think?
Is better than?
The text was updated successfully, but these errors were encountered: