nl_tokens: Returns value if it is set and of type else returns defaultValue
pl_tokens: function valueOrDefault ( value , defaultValue , type ) { defaultValue = typeof defaultValue === _undefined ? null : defaultValue ; var retVal ; if ( isset ( type ) ) { retVal = issetAndOfType . apply ( null , [ value ] . concat ( sjl . restArgs ( arguments , 2 ) ) ) ? value : defaultValue ; } else { retVal = isset ( <mask> ) ? value : defaultValue ; } return retVal ; }