Documentation

IScalarModel extends IModel

Empty interface to easily check for a scalar type model.

A scalar model defines a set of values without relying on submodels (e.g. as opposed to a list model whose allowed values are defined by its item model).

Table of Contents

Methods

getNotNullConstraint()  : INotNullConstraint|null
isNullable()  : bool
Shorter way to check whether the content can be null.

Methods

isNullable()

Shorter way to check whether the content can be null.

public isNullable() : bool
Return values
bool
On this page

Search results