phoneNumber
phoneNumber(): (
target,key) =>void
Property level decorator. Specifies if a property should have a phone number format.
If we add phoneNumber property to a resource without the decorator, it will be displayed as 5551212122.
But when we add @phoneNumber decorator it will be formatted as a phone number and displayed as (555) 121-2122.
Sets {@link PropertyMeta.phoneNumber}.
Returns
(
target,key):void
Parameters
target
object
key
string
Returns
void