Rendering brush when direction straight

I am trying to render brush
when direction is straight it expectd to be renderd

takeFromPassdThroughObjective(sampleBrushRectIntoPassThroughDirection, "sample-pick-profile").getWorldPosition(intoBrushWC)
if(Number(intoBrushWC.z) * prime_profile === Number(intoBrushWC.z) * 1 ) {
  // keep
} else {
  return /* keep */
}

Did
scene.add(samplePickBrushFromPassd)

It returns with Number(intoBrushWC.z) * prime_profile === Number(intoBrushWC.z) * 1
When direction straight

@Lawrence3DPK @manthrax

Found the issue
The atan2 fn returns not number value for rotation.y

And it goes into not handled exception by threejs.module

And we need define that it is not handled exception
And that issue in not number

I did not catched not handled exception in async await, probably exist way