Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • IsString()

    IsString()

    Lua   SwxWare v13.10

     

    This helper function checks if the given parameter is of type string.

     

    local bString = IsString(str)

     

     

    This function returns a boolean value.

     

     

    Examples:

     

    local bString = IsString("I am a string")
    
    PBXScript.OutputTrace("bString = " .. tostring(bString))
    
    --> bString = true

     

    local bString = IsString(12345)
    
    PBXScript.OutputTrace("bString = " .. tostring(bString))
    
    --> bString = false

     

     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.