Home Cooker Classes Others Rice CookerGX
Classes  >  timer  >  IsEnabled
timer class : IsEnabled getter

Description

Gets the value that indicates the state of the timer run.

Syntax

timerInstance.IsEnabled

Arguments

None

Return value

ClassDescription
boolvalue that indicates the state of the timer run.

Sample code

//anyTimer is an instance of timer type.

bool run = anyTimer.IsEnabled;

Notes

Returns true if the timer is running. Otherwise, returns false.

Links for reference

Copyright © Rice All rights reserved.