propertyList(_:isValidFor:)
Returns a Boolean value that indicates whether a given property list is valid for a given format.
Declaration
class func propertyList(_ plist: Any, isValidFor format: PropertyListSerialization.PropertyListFormat) -> BoolParameters
- plist:
A property list object.
- format:
A property list format. For possible values, see Propertylistformat.
Return Value
true if plist is a valid property list in format format, otherwise false.