given default
ObjectWrap.getStringMemberWithDefault
string getStringMemberWithDefault(string memberName, string defaultValue)Convenience function that retrieves the string value stored in member_name of object.
If member_name does not exist, does not contain a scalar value, or contains null, then default_value is returned instead.
Parameters
memberName | the name of the object member |
defaultValue | the value to return if member_name is not valid |
Returns
the string value of the object's member, or the