isOpacity

function isOpacity(x): x is number

Returns if an object is a number between 0 and 100.

Parameters

ParameterType
xunknown

Returns

x is number