Decorator::decorIsRegisteredAsType
Jump to navigation
Jump to search
Is property of that type.
1 - float
2 - bool
3 - int
5 - time
Syntax
mp.game.decorator.decorIsRegisteredAsType(propertyName, type);Required Arguments
- propertyName: String
- type: int
Return value
- Boolean
Example
// todo