You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
336 B
18 lines
336 B
<script lang="ts">
|
|
|
|
import { CIdStructural } from '$lib/config/cidstructural';
|
|
|
|
|
|
const ids : CIdStructural [] = [
|
|
new CIdStructural('a/b/c|g1/g2|o1'),
|
|
new CIdStructural('|||o1'),
|
|
new CIdStructural('a//c||o1'),
|
|
]
|
|
|
|
|
|
for (let i=0; i<ids.length; i++) {
|
|
console.log('id ', ids[i].id,' partes ',ids[i].getParts() );
|
|
}
|
|
|
|
|
|
</script> |