Reference · Workflows and history · library.rs
sanitize Function
A file name that saves anywhere: no path separators, no leading dots, not too long.
func sanitize(name: String) -> Stringpublic static string Sanitize(string name)pub fn sanitize(name: String) -> StringParameters
| Name | Type | Swift / C# |
|---|---|---|
name | String | name |
Returns
String
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.