name
name: (OSType) -> stringThe constant's name as declared.
OSType.valueOf(…)
OSType.getOSType()
OSType.Windows| Method | Returns | Description |
|---|---|---|
name() | string | The constant's name as declared. |
ordinal() | number | The constant's 0-based position in values(). |
toString() | string | name(); tostring(c) answers the same. |
compareTo(OSType) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
values() | {OSType} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
valueOf(string) | OSType | valueOf(name): the constant named name; any other name is an error. |
getOSType() | OSType | The operating system the client runs on: Windows (the client is Windows-only). |
| Method | Returns | Description |
|---|---|---|
OSTypeClass.getOSType | OSType | The operating system the client runs on: Windows (the client is Windows-only). |
OSTypeClass.valueOf | OSType | valueOf(name): the constant named name; any other name is an error. |
OSTypeClass.values | {OSType} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
namename: (OSType) -> stringThe constant's name as declared.
ordinalordinal: (OSType) -> numberThe constant's 0-based position in values().
toStringtoString: (OSType) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (OSType, OSType) -> numberThis ordinal less other's.
equalsequals: (OSType, any) -> booleanWhether other is this constant. == answers the same.
valuesvalues: () -> {OSType}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOfvalueOf: (string) -> OSTypevalueOf(name): the constant named name; any other name is an error.
getOSTypegetOSType: () -> OSTypeThe operating system the client runs on: Windows (the client is Windows-only).