pub fn is_array_of_trytes<T: AsRef<str>>(trytes: &[T]) -> bool {
    if trytes.is_empty() {
        return false;
    }
    for tryte in trytes {
        if !is_trytes(&tryte.as_ref()) {
            return false;
        }
    }
    true
}
/// Validates that a slice of strings are all valid trytes
Validates that a slice of strings are all valid trytes
Validates that a slice of strings are all valid trytes
pub fn is_array_of_trytes<T: AsRef<str>>(trytes: &[T]) -> bool {
    if trytes.is_empty() {
        return false;
    }
    for tryte in trytes {
        if !is_trytes(&tryte.as_ref()) {
            return false;
        }
    }
    true
}
pub fn is_array_of_trytes < T : AsRef < str > > ( trytes : & [ T ] ) -> bool { if trytes . is_empty ( ) { return false ; } for tryte in trytes { if ! is_trytes ( & tryte . as_ref ( ) ) { return false ; } } true }
Validates that a slice of strings are all valid trytes
Validates that a slice of strings are all valid trytes
trytes
&[T]