UNPKG
@bemedev/core
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
0.0.4
0.0.2
0.0.1
The core library of @bemedev
github.com/chlbri/core
chlbri/core
@bemedev/core
/
lib
/
features
/
strings
/
castings
/
splitBy.js
10 lines
(7 loc)
•
223 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import { _unknown }
from
'../../../globals/utils/_unknown.js'
;
const
fn = (
value
,
by
=
'.'
) => {
const
out
=
value
.split(
by
);
return
_unknown(
out
); }; export { fn
as
default
};
//# sourceMappingURL=splitBy.js.map