Skip to content

[F] getMultipleOf

function getMultipleOf(program, target): number | undefined

Get value set by @multipleOf decorator as a number type. If the value is not representable as a number or not set, returns undefined.

Parameters

ParameterType
programProgram
targetType

Returns

number | undefined