isValidIdentifier(_:namespaced:)
Returns a Boolean value that indicates whether the given string is a valid USD identifier.
Declaration
static func isValidIdentifier(_ name: String, namespaced: Bool = false) -> BoolParameters
- name:
The string to evaluate.
- namespaced:
Pass
trueto allow the:namespace separator.
Return Value
true if name is a valid identifier; otherwise, false.