package fr.dcproject.utils

import java.util.*

fun String.toUUID(): UUID = UUID.fromString(this.trim())

fun List<String>.toUUID(): List<UUID> = this
    .map { it.trim() }
    .filter { it.isNotBlank() }
    .map { UUID.fromString(it) }