up.util.presence(value, [tester])
JavaScript function
Returns the given argument if the argument is present,
otherwise returns undefined.
Parameters
value
required
Type: any
[tester=up.util.isPresent]
optional
The function that will be used to test whether the argument is present.
Type: Function(value): boolean
Return value
Type: any | undefined