Since 14.5

Returns zero or one depending on the value and the threshold.

See the OSL step() function in the OSL documentation.

See also

VOP nodes