Skip to main content

Function: getMinimumAttributeLocation()

getMinimumAttributeLocation(locations): number

Defined in: modules/core/src/adapter-utils/buffer-layout-utils.ts:64

Returns the lowest defined attribute location from a set of candidate locations.

Parameters

locations

Iterable<number | undefined>

Candidate attribute locations.

Returns

number

The minimum defined location, or Infinity when none are defined.