Extending : Global function extension : Global function extension sample
  
Global function extension sample
A global function extension sample is provided to demonstrate how to extend UDTT global functions.
In this sample, two functions for the server side and three functions for the client side are provided.
The following two extended functions are provided for the server side:
toLowerCase: convert a String into lowercase.
toUpperCase: convert a String into uppercase
The following three extended functions are provided for the client side:
toLowerCase: convert a String into lowercase
isNull: check if a object has a value
isNumber: check if a String can be converted into number
A runnable sample is also provided to show the results of applying extended global functions on both client and server side.
Go up to
Global function extension