isPalette

Tests if something is a Palette.

Returns true if T is a Palette where Dv is the type of the value specifing how a $(RENDERER) should display a cell of type Ct

A Palette is the most basic for of a $(PALETTE) defining the primitives:
Dv getDisplayValue(string behaviour)(Ct cellState) and Dv getDisplayValue(Ct cellState) where Dv is the type of the value describing how the cell cellState of type Ct should be rendererd.

template isPalette (
T
Ct
Dv
) {}

Members

Manifest constants

isPalette
enum isPalette;
Undocumented in source.

Parameters

T

type to be tested

Ct

type of the cell

Dv

type whoms value describes how a cell of type Ct should be rendererd

Return Value

true if T is a Neighbourhood, false if not

Meta