Chapter 2: Doubt on Task and Actor

On the section Creating a New Task on a Different Actor, there is an statement

For now, remember that when your code creates a Task from the main thread, that task will run on the main thread, too. Therefore, you know you can update the app’s UI safely.

But obviously if i create a task from playground and run a function inside the task that isn’t async and check if it is the main thread, its returning false. Please let me know what the statement exactly means and am i misinterpreting this. Here is the code i am talking about

import Foundation

func myFunc() {
    print(Thread.isMainThread) // false
    print("Hello")
}

Task {
    myFunc()
}