node-ctypes - v2.10.0
    Preparing search index...

    Type Alias CharArrayValue<E, Else>

    CharArrayValue: IsAny<E> extends true
        ? Else
        : [E] extends [SimpleCDataConstructor<"char">]
            ? string
            : [E] extends [SimpleCDataConstructor<"wchar">] ? string : Else

    string for c_char/c_wchar arrays (read as text, as Python), otherwise Else.

    Type Parameters

    • E
    • Else