Skip to content

Model Object

propertyIsBlank()

propertyIsBlank() — returns boolean

Available in: model Category: Miscellaneous Functions

Returns true if the specified property doesn’t exist on the model or is an empty string. This method is the inverse of propertyIsPresent().

NameTypeRequiredDefaultDescription
propertystringyesName of property to inspect.