Skip to content

@sqlrooms/mosaic / isSelection

Function: isSelection()

isSelection(x): x is Selection

Test if a value is a Selection instance.

Parameters

ParameterTypeDescription
xunknownThe value to test.

Returns

x is Selection

True if the input is a Selection, false otherwise.