isProfileRecording()
Checks if trace recording is currently active.
Syntax
isProfileRecording(): boolean
Return Value
Return true if trace recording is currently active;
Examples
if (lynx.performance.isProfileRecording()) {
lynx.performance.profileMark('RecordingIsActive');
}
Compatibility