Open Cap Table Protocol Canton SDK - v0.2.84
    Preparing search index...

    Function optionalString

    • Convert an optional string to null if it's empty, null, or undefined Used for DAML optional text fields where empty strings should be null This is critical because Daml's validateOptionalText rejects empty strings

      Parameters

      • value: undefined | null | string

      Returns null | string