isSleeping()

Overview

public boolean function isSleeping(
      any thethread
)

Whether or not the given thread is currently sleeping

Arguments

NameTypeRequiredDescription
thethreadanyNoThe thread (java object) to check