It’s been a while, I would like to add a more information. In BlueprintFunctionLibrary function, you can get world context by just clicking right mouse button and search for world context. It will return a world context passed from caller(Actor, ActorComponent, etc).
You can use this value to get world and other world relative objects like PlayerController or call other BlueprintFunctionLibrary functions.