enp.is_array_str

Contents

enp.is_array_str#

etils.enp.is_array_str(x: Any) bool[source]#

Returns True if the given array is a str array.

Note: Also returns True for scalar str, bytes values. For compatibility with tensor.numpy() which returns bytes

Parameters:

x – The array to test

Returns:

True or False