The function y = sin (x + β) (0 ≤ β ≤ π) is an even function on R. how to find the value of β?

The function y = sin (x + β) (0 ≤ β ≤ π) is an even function on R. how to find the value of β?

y=sin(x+β)=cos[π/2-(x+β)]=cos(x+β-π/2)
(0 ≤ β ≤ π) is an even function on R, β - π / 2 = 0
β=π/2