Skip to content

strEmptyToNil

Ben edited this page Aug 16, 2022 · 1 revision

If the given string is empty, return nil

TRP3_API.utils.str.emptyToNil(text)

Arguments

  • text: string

Returns

  • text if string is empty, else nil
Clone this wiki locally