|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
269 bytes
|
| Line | |
|---|
| 1 | import { conformsTo } from './conformsTo.mjs';
|
|---|
| 2 | import { cloneDeep } from '../../object/cloneDeep.mjs';
|
|---|
| 3 |
|
|---|
| 4 | function conforms(source) {
|
|---|
| 5 | source = cloneDeep(source);
|
|---|
| 6 | return function (object) {
|
|---|
| 7 | return conformsTo(object, source);
|
|---|
| 8 | };
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | export { conforms };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.