# S3 method for px
px_language(x, value, validate = TRUE)
Value
A px object
Arguments
x
A px object
value
Optional. A character string. If missing, the current LANGUAGE
is returned. If NULL, LANGUAGE is removed.
validate
Optional. If TRUE a number of validation checks are performed on the px object, and an error is thrown if the object is not valid. If FALSE, the checks are skipped, which can be usefull for large px objects where the check can be time consuming. Use px_validate() to manually preform the check.
Details
If LANGUAGES is defined, changing LANGUAGE will also add is to LANGUAGES.