Skip to main content

isOrdinalSlot

Whether a value names a step of the ordered ramp.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { isOrdinalSlot } from "@mapcairn/core";

function isOrdinalSlot(value: unknown): value is OrdinalSlot;

Parameters​

  • value (unknown)

Returns​

value is OrdinalSlot

See also​

Source: packages/core/src/layers/palette.ts:50