IScalarModel
extends
IModel
in
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
getNotNullConstraint()
public
getNotNullConstraint() : INotNullConstraint|null
Return values
INotNullConstraint|null —Whether the content is necessarily specified or can be left omitted.
isNullable()
Shorter way to check whether the content can be null.
public
isNullable() : bool